windows 8 :The syntax of the command is incorrect. npm ERR! code ELIFECYCLE
See original GitHub issueI had tough time setting up this simpe solution on windows ,seems like it is very outdated
bundle.js 3.11 kB 0 [emitted] main [0] ./src/app/index.js 40 bytes {0} [built] The syntax of the command is incorrect. npm ERR! code ELIFECYCLE
output :
bundle.js 3.11 kB 0 [emitted] main
[0] ./src/app/index.js 40 bytes {0} [built]
The syntax of the command is incorrect.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reactbasic1@1.0.0 build: webpack -d && copy src/index.html dist/index.html && webpack-dev-server --content-base sr c/ --inline --hot
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactbasic1@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Not sure if it is very outdated . Dev dependencies: “devDependencies”: { “babel-core”: “^6.25.0”, “babel-loader”: “^7.1.1”, “babel-preset-es2015”: “^6.24.1”, “babel-preset-react”: “^6.24.1”, “babel-preset-stage-2”: “^6.24.1”, “webpack”: “^3.0.0”, “webpack-dev-server”: “^2.5.0” }
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top GitHub Comments
@KidusMT
I changed as below, in package.json After change :
Before change :
@satyadk did you resolve your problem I am getting the same error. and I am on windows too.