structor icon indicating copy to clipboard operation
structor copied to clipboard

npm install fails on postexec.js

Open AvronNet opened this issue 8 years ago • 0 comments

Hi, when i run npm istall the postinstall script fails with this error: 185 info postinstall [email protected] 186 verbose unsafe-perm in lifecycle true 187 info [email protected] Failed to exec postinstall script 188 verbose stack Error: [email protected] postinstall: node ./postexec.js 188 verbose stack Exit status 1 188 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16) 188 verbose stack at emitTwo (events.js:87:13) 188 verbose stack at EventEmitter.emit (events.js:172:7) 188 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14) 188 verbose stack at emitTwo (events.js:87:13) 188 verbose stack at ChildProcess.emit (events.js:172:7) 188 verbose stack at maybeClose (internal/child_process.js:827:16) 188 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 189 verbose pkgid [email protected] 190 verbose cwd C:\git-sh1_component_playground\structor-master 191 error Windows_NT 6.3.9600 192 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" 193 error node v4.4.2 194 error npm v2.15.0 195 error code ELIFECYCLE 196 error [email protected] postinstall: node ./postexec.js 196 error Exit status 1 197 error Failed at the [email protected] postinstall script 'node ./postexec.js'. 197 error This is most likely a problem with the structor package, 197 error not with npm itself. 197 error Tell the author that this fails on your system: 197 error node ./postexec.js 197 error You can get information on how to open an issue for this project with: 197 error npm bugs structor 197 error Or if that isn't available, you can get their info via: 197 error 197 error npm owner ls structor 197 error There is likely additional logging output above. 198 verbose exit [ 1, true ]

after this if I try to run npm install structor I get: npm WARN install Refusing to install structor as a dependency of itself.

P.S. attaching full npm-debug.log npm-debug.log

AvronNet avatar Oct 13 '17 08:10 AvronNet