Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm ERR! missing script: dist #19809

Closed
Gui-Tora opened this issue Feb 12, 2018 · 7 comments
Closed

npm ERR! missing script: dist #19809

Gui-Tora opened this issue Feb 12, 2018 · 7 comments
Labels

Comments

@Gui-Tora
Copy link

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dist' ]
2 info using npm@5.6.0
3 info using node@v8.9.3
4 verbose stack Error: missing script: dist
4 verbose stack at run (C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack at checkBinReferences_ (C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:357:45)
4 verbose stack at final (C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:400:3)
4 verbose stack at then (C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack at C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:280:12
4 verbose stack at C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
5 verbose cwd C:\Users\christopher\Desktop\electron-quick-start-master
6 verbose Windows_NT 10.0.16299
7 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\christopher\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "dist"
8 verbose node v8.9.3
9 verbose npm v5.6.0
10 error missing script: dist
11 verbose exit [ 1, true ]

@kenany kenany added the support label Feb 13, 2018
@kenany
Copy link
Contributor

kenany commented Feb 13, 2018

@mctora Do you have a "dist" script defined in your package.json?

@Gui-Tora
Copy link
Author

NO BUT THE NPM HELP ME BUT NOW I HAVE ANOTHER ERROR

@kenany
Copy link
Contributor

kenany commented Feb 24, 2018

What's the new error?

@Gui-Tora
Copy link
Author

My new error is this:
is mi new error

@kenany
Copy link
Contributor

kenany commented Feb 26, 2018

Try not typing the dollar sign $.

@Gui-Tora
Copy link
Author

I've already tried it and it works, thank.
It was a silly mistake

@kenany
Copy link
Contributor

kenany commented Jun 13, 2018

Closing as resolved then.

@kenany kenany closed this as completed Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants