-
Notifications
You must be signed in to change notification settings - Fork 136
Description
I am following the instructions provided in section "How to run this project". Successfully completed steps 1, 2 and first part of step 3. However, I am getting the following error while running the final part of step 3 i.e npm run watch. I could not figure out the issue, any help is appreciated! Thank you so much.
Error copied from LOG file:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\user1\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'watch' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prewatch', 'watch', 'postwatch' ]
5 info lifecycle [email protected]prewatch: [email protected]watch: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]watch: unsafe-perm in lifecycle truewatch: PATH: C:\Users\user1\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\user1\playground\single-spa\single-spa-portal-example-master\portal\node_modules.bin;
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]watch: CWD: C:\Users\user1\playground\single-spa\single-spa-portal-example-master\portalwatch: Args: [ '/d /s /c', 'webpack-dev-server --port 9000' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]watch: Returned: code: 1 signal: nullwatch: Failed to exec watch script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] watch: webpack-dev-server --port 9000
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Users\user1\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (C:\Users\user1\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\user1\playground\single-spa\single-spa-portal-example-master\portal
16 verbose Windows_NT 10.0.16299
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\user1\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "watch"
18 verbose node v8.9.0
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] watch: webpack-dev-server --port 9000
22 error Exit status 1
23 error Failed at the [email protected] watch script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]