npm is crashing (missing script) #14309
Comments
@ankamfc I don't see a |
|
@ankamfc What does |
@kenany
|
@ankamfc Is the |
@kenany Its part of it.
|
@ankamfc Hmm, how odd. Does this also occur with the latest stable release of |
I am new to this. I installed the latest release of node . And it is currently running 2.15.9 after i ran an npm update . ANd am getting the same error . @kenany |
This is a weird package.json -- |
@zkat added both the fields and tried and didn have any luck . |
@ankamfc: what is the exact path of that |
I've looked at this and I'm certain that the This is important, because that's where you're running The reason I'm so sure is because the output of
If I'm correct then to resolve this you need to make sure that your command line is in the same folder as the |
@iarna Thank you for that . That worked . |
Closing as resolved. |
I'm opening this issue because:
What's going wrong?
How can the CLI team reproduce the problem?
Package.json -
"scripts": {
"start": "node ./scripts/build.js && webpack-dev-server --inline --content-base subjects",
"server-exercise": "supervisor -- -r babel-register subjects/ServerRendering/exercise/server.js",
"server-solution": "supervisor -- -r babel-register subjects/ServerRendering/solution/server.js",
"lint": "eslint subjects/*/.js",
"test": "npm run lint"
},
npm-debug.log ->
supporting information:
npm -v
prints:node -v
prints:npm config get registry
prints:The text was updated successfully, but these errors were encountered: