react-router-tutorial
react-router-tutorial copied to clipboard
Invalid configuration object
My log file is:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 info lifecycle [email protected]~start: [email protected]
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\ABDUL SAFWAN\Desktop\reactApp\node_modules.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\nodejs;C:\Program Files\Java\jdk1.8.0_171\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\nodejs;C:\Program Files\Java\jdk1.8.0_171
9 verbose lifecycle [email protected]~start: CWD: C:\Users\ABDUL SAFWAN\Desktop\reactApp
10 silly lifecycle [email protected]~start: Args: [ '/d /s /c', 'webpack-dev-server --hot' ]
11 silly lifecycle [email protected]~start: Returned: code: 1 signal: null
12 info lifecycle [email protected]~start: Failed to exec start script
13 verbose stack Error: [email protected] start: webpack-dev-server --hot
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.webpack-dev-server --hot
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Package.json is { "name": "react-app", "version": "0.0.0", "description": "A sample Node.js app using React", "main": "index.html", "scripts": { "start": "webpack-dev-server --hot" }, "author": "safuwan", "license": "ISC", "dependencies": { "babel-core": "^6.26.3", "babel-loader": "^7.1.4", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "npm": "^6.1.0", "react": "^16.4.1", "react-dom": "^16.4.1", "webpack": "^4.14.0", "webpack-dev-server": "^3.1.4" }, "devDependencies": { "webpack-cli": "^3.0.8" } }