-
Notifications
You must be signed in to change notification settings - Fork 867
NPM run watch is not working! #367
Comments
Please verify that your package.json file is up to date. Then:
and finally
This should work. Keep me posted. |
Ole, I verified that package.json is identical to the most recent version in Git, then tried 0 info it worked if it ends with ok |
Which versions of node and npm are you using? I'm on Node v0.12.0 and npm 2.5.1. (type |
Same versions as you: Node v0.12.0 and npm 2.5.1 Any idea what these mean in the error log? 29 verbose unsafe-perm in lifecycle true 38 error code ELIFECYCLE |
I have no idea. Are you able to install grunt as a global dependency and run the I see that you're not alone having problems with node post install, but unfortunately I don't have the solution to the problem. |
npm cache clean --force |
Here is the error-log output:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe',
1 verbose cli 'C:\Program Files (x86)\nodejs\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 node symlink C:\Program Files (x86)\nodejs\node.exe
5 verbose run-script [ 'prewatch', 'watch', 'postwatch' ]
6 info prewatch [email protected]
7 info watch [email protected]
8 verbose unsafe-perm in lifecycle true
9 info [email protected] Failed to exec watch script
10 verbose stack Error: [email protected] watch:
grunt watch
10 verbose stack Exit status 3
10 verbose stack at EventEmitter. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16)
10 verbose stack at EventEmitter.emit (events.js:110:17)
10 verbose stack at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\spawn.js:14:12)
10 verbose stack at ChildProcess.emit (events.js:110:17)
10 verbose stack at maybeClose (child_process.js:1008:16)
10 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
11 verbose pkgid [email protected]
12 verbose cwd C:\Users\Daniel\Documents\Websites\www.turningpoint.dev\wp-content\themes\FoundationPressTheme
13 error Windows_NT 6.1.7601
14 error argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "watch"
15 error node v0.12.0
16 error npm v2.5.1
17 error code ELIFECYCLE
18 error [email protected] watch:
grunt watch
18 error Exit status 3
19 error Failed at the [email protected] watch script 'grunt watch'.
19 error This is most likely a problem with the foundationpress package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error grunt watch
19 error You can get their info via:
19 error npm owner ls foundationpress
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: