npm run start
> [email protected] start C:\Users\GHOST-PROTOCOL\SiteApps\hello-blockstack
> npm run browserify; node server.js
npm WARN invalid config loglevel="notice"
npm ERR! missing script: browserify;
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\GHOST-PROTOCOL\AppData\Roaming\npm-cache\_logs\2017-06-28T18_56_56_716Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `npm run browserify; node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\GHOST-PROTOCOL\AppData\Roaming\npm-cache\_logs\2017-06-28T18_56_56_770Z-debug.log
I solved this by tweaking package.json scripts to:
"scripts": {
"browserify": "browserify requires.js > public/bundle.js",
"start": "npm run browserify && node server.js"
},
1 Like