TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
453 stars 141 forks source link

build ref error : when npm install ffi with win8.1x64/vs2013update4/python2.7.3/node 0.12.3 #31

Closed ashareye closed 9 years ago

ashareye commented 9 years ago

I fail to npm install ffi, then I report it in issues of ffi , and the owner told me that I'd report here, so here is the npm-debug.log

1164 info install ref@1.0.2
1165 verbose unsafe-perm in lifecycle true
1166 info ref@1.0.2 Failed to exec install script
1167 verbose unlock done using C:\Users\ashare\AppData\Roaming\npm-cache_locks\ref-26473bd1340fbb09.lock for Y:\working\code\test\nodejs\test.dll\node_modules\ffi\node_modules\ref
1168 verbose about to build Y:\working\code\test\nodejs\test.dll\node_modules\ffi
1169 verbose unlock done using C:\Users\ashare\AppData\Roaming\npm-cache_locks\ffi-c59778bcfbfe0925.lock for Y:\working\code\test\nodejs\test.dll\node_modules\ffi
1170 verbose stack Error: ref@1.0.2 install: node-gyp rebuild
1170 verbose stack Exit status 1
1170 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16)
1170 verbose stack at EventEmitter.emit (events.js:110:17)
1170 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
1170 verbose stack at ChildProcess.emit (events.js:110:17)
1170 verbose stack at maybeClose (child_process.js:1015:16)
1170 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
1171 verbose pkgid ref@1.0.2
1172 verbose cwd Y:\working\code\test\nodejs\test.dll
1173 error Windows_NT 6.3.9600
1174 error argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "ffi" "--save"
1175 error node v0.12.3
1176 error npm v2.9.1
1177 error code ELIFECYCLE
1178 error ref@1.0.2 install: node-gyp rebuild
1178 error Exit status 1
1179 error Failed at the ref@1.0.2 install script 'node-gyp rebuild'.
1179 error This is most likely a problem with the ref package,
1179 error not with npm itself.
1179 error Tell the author that this fails on your system:
TooTallNate commented 9 years ago

There's not really enough for me to go off of here. Would you might posting the output that you see on your command line when you run npm install ref?