Skip to content
This repository has been archived by the owner. It is now read-only.

npm ERR! missing script: dist #19809

Closed
mctora opened this issue Feb 12, 2018 · 7 comments
Closed

npm ERR! missing script: dist #19809

mctora opened this issue Feb 12, 2018 · 7 comments
Labels

Comments

@mctora
Copy link

@mctora mctora commented Feb 12, 2018

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

This comment has been minimized.

Copy link
Collaborator

@KenanY KenanY commented Feb 13, 2018

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

@mctora

This comment has been minimized.

Copy link
Author

@mctora mctora commented Feb 24, 2018

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

@KenanY

This comment has been minimized.

Copy link
Collaborator

@KenanY KenanY commented Feb 24, 2018

What's the new error?

@mctora

This comment has been minimized.

Copy link
Author

@mctora mctora commented Feb 26, 2018

My new error is this:
is mi new error

@KenanY

This comment has been minimized.

Copy link
Collaborator

@KenanY KenanY commented Feb 26, 2018

Try not typing the dollar sign $.

@mctora

This comment has been minimized.

Copy link
Author

@mctora mctora commented Feb 27, 2018

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

@KenanY

This comment has been minimized.

Copy link
Collaborator

@KenanY KenanY commented Jun 13, 2018

Closing as resolved then.

@KenanY KenanY closed this Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.