npm ERR! missing script: webpack
Opened this issue · 0 comments
I'm getting this error
0 info it worked if it ends with ok
1 verbose cli [ '/Users/obv174/.nvm/versions/node/v5.12.0/bin/node',
1 verbose cli '/Users/obv174/.nvm/versions/node/v5.12.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'webpack' ]
2 info using npm@3.8.6
3 info using node@v5.12.0
4 verbose stack Error: missing script: webpack
4 verbose stack at run (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/lib/run-script.js:147:19)
4 verbose stack at /Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/lib/run-script.js:57:5
4 verbose stack at /Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:345:5
4 verbose stack at checkBinReferences_ (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:309:45)
4 verbose stack at final (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:343:3)
4 verbose stack at then (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)
4 verbose stack at ReadFileContext. (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:284:20)
4 verbose stack at ReadFileContext.callback (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
4 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:324:13)
5 verbose cwd /Users/obv174/es6
6 error Darwin 15.6.0
7 error argv "/Users/obv174/.nvm/versions/node/v5.12.0/bin/node" "/Users/obv174/.nvm/versions/node/v5.12.0/bin/npm" "run" "webpack"
8 error node v5.12.0
9 error npm v3.8.6
10 error missing script: webpack
11 error If you need help, you may report this error at:
11 error https://github.com/npm/npm/issues
12 verbose exit [ 1, true ]