TooTallNate / ref

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

ref rebuild failed under node v8.9.0 ia32 #97

Closed waitingsong closed 6 years ago

waitingsong commented 6 years ago

It succeed under node v8.9.0 x64, and also ok under node v8.8.1 x64/ia32, but failed under v8.9.0 ia32

log:

75 verbose correctMkdir C:\Users...\AppData\Roaming\npm-cache_locks correctMkdir not in flight; initializing 76 verbose makeDirectory C:\Users...\AppData\Roaming\npm-cache_locks creation not in flight; initializing 77 verbose makeCacheDir UID & GID are irrelevant on win32 78 verbose lock using C:\Users...\AppData\Roaming\npm-cache_locks\staging-6a5687d19f034609.lock for E:\project\win32-api\source\node_modules.staging 79 silly doParallel extract 48 80 silly extract debug@2.6.9 81 silly pacote trying debug@https://registry.npmjs.org/debug/-/debug-2.6.9.tgz by hash: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 82 silly extract debug@2.6.9 83 silly pacote trying debug@https://registry.npmjs.org/debug/-/debug-2.6.9.tgz by hash: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 84 silly extract debug@2.6.9 85 silly pacote trying debug@https://registry.npmjs.org/debug/-/debug-2.6.9.tgz by hash: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 86 silly extract ref@1.3.5 87 silly pacote trying ref@https://registry.npmjs.org/ref/-/ref-1.3.5.tgz by hash: sha512-2cBCniTtxcGUjDpvFfVpw323a83/0RLSGJJY5l5lcomZWhYpU2cuLdsvYqMixvsdLJ9+sTdzEkju8J8ZHDM2nA== 88 silly extract ref-struct@1.1.0 89 silly pacote trying ref-struct@https://registry.npmjs.org/ref-struct/-/ref-struct-1.1.0.tgz by hash: sha1-XV7mWtQc78Olxf60BYcmHkee3BM= 90 silly extract ffi@2.2.0 91 silly pacote trying ffi@https://registry.npmjs.org/ffi/-/ffi-2.2.0.tgz by hash: sha1-vxiwRmain3EiftVoldVDCvRwQvo= 92 silly pacote data for sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== not present. Using manifest. 93 silly pacote data for sha1-XV7mWtQc78Olxf60BYcmHkee3BM= not present. Using manifest. 94 silly pacote data for sha512-2cBCniTtxcGUjDpvFfVpw323a83/0RLSGJJY5l5lcomZWhYpU2cuLdsvYqMixvsdLJ9+sTdzEkju8J8ZHDM2nA== not present. Using manifest. 95 silly pacote data for sha1-vxiwRmain3EiftVoldVDCvRwQvo= not present. Using manifest. 96 silly pacote data for sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== not present. Using manifest. 97 silly pacote data for sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== not present. Using manifest. 98 http fetch GET 200 https://registry.npmjs.org/ref-struct/-/ref-struct-1.1.0.tgz 3517ms 99 silly pacote ref-struct@https://registry.npmjs.org/ref-struct/-/ref-struct-1.1.0.tgz extracted in 3688ms 100 http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 4014ms 101 silly pacote debug@https://registry.npmjs.org/debug/-/debug-2.6.9.tgz extracted in 4203ms 102 http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 5671ms 103 silly pacote debug@https://registry.npmjs.org/debug/-/debug-2.6.9.tgz extracted in 5860ms 104 http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 5652ms 105 silly pacote debug@https://registry.npmjs.org/debug/-/debug-2.6.9.tgz extracted in 5901ms 106 http fetch GET 200 https://registry.npmjs.org/ref/-/ref-1.3.5.tgz 12415ms 107 silly pacote ref@https://registry.npmjs.org/ref/-/ref-1.3.5.tgz extracted in 12601ms 108 http fetch GET 200 https://registry.npmjs.org/ffi/-/ffi-2.2.0.tgz 47015ms 109 silly pacote ffi@https://registry.npmjs.org/ffi/-/ffi-2.2.0.tgz extracted in 47203ms 110 silly doReverseSerial unbuild 48 111 silly doSerial remove 48 112 silly doSerial move 48 113 silly doSerial finalize 48 114 silly finalize E:\project\win32-api\source\node_modules\ffi\node_modules\debug 115 silly finalize E:\project\win32-api\source\node_modules\ref-struct\node_modules\debug 116 silly finalize E:\project\win32-api\source\node_modules\ref\node_modules\debug 117 silly finalize E:\project\win32-api\source\node_modules\ref 118 silly finalize E:\project\win32-api\source\node_modules\ref-struct 119 silly finalize E:\project\win32-api\source\node_modules\ffi 120 silly doParallel refresh-package-json 48 121 silly refresh-package-json E:\project\win32-api\source\node_modules\ffi\node_modules\debug 122 silly refresh-package-json E:\project\win32-api\source\node_modules\ref-struct\node_modules\debug 123 silly refresh-package-json E:\project\win32-api\source\node_modules\ref\node_modules\debug 124 silly refresh-package-json E:\project\win32-api\source\node_modules\ref 125 silly refresh-package-json E:\project\win32-api\source\node_modules\ref-struct 126 silly refresh-package-json E:\project\win32-api\source\node_modules\ffi 127 silly doParallel preinstall 48 128 silly preinstall debug@2.6.9 129 info lifecycle debug@2.6.9~ preinstall: debug@2.6.9 130 silly preinstall debug@2.6.9 131 info lifecycle debug@2.6.9~ preinstall: debug@2.6.9 132 silly preinstall debug@2.6.9 133 info lifecycle debug@2.6.9~ preinstall: debug@2.6.9 134 silly preinstall ref@1.3.5 135 info lifecycle ref@1.3.5~ preinstall: ref@1.3.5 136 silly preinstall ref-struct@1.1.0 137 info lifecycle ref-struct@1.1.0~ preinstall: ref-struct@1.1.0 138 silly preinstall ffi@2.2.0 139 info lifecycle ffi@2.2.0~ preinstall: ffi@2.2.0 140 silly doSerial build 48 141 silly build debug@2.6.9 142 info linkStuff debug@2.6.9 143 silly linkStuff debug@2.6.9 has E:\project\win32-api\source\node_modules\ffi\node_modules as its parent node_modules 144 verbose linkBins debug@2.6.9 145 verbose linkMans debug@2.6.9 146 silly build debug@2.6.9 147 info linkStuff debug@2.6.9 148 silly linkStuff debug@2.6.9 has E:\project\win32-api\source\node_modules\ref-struct\node_modules as its parent node_modules 149 verbose linkBins debug@2.6.9 150 verbose linkMans debug@2.6.9 151 silly build debug@2.6.9 152 info linkStuff debug@2.6.9 153 silly linkStuff debug@2.6.9 has E:\project\win32-api\source\node_modules\ref\node_modules as its parent node_modules 154 verbose linkBins debug@2.6.9 155 verbose linkMans debug@2.6.9 156 silly build ref@1.3.5 157 info linkStuff ref@1.3.5 158 silly linkStuff ref@1.3.5 has E:\project\win32-api\source\node_modules as its parent node_modules 159 verbose linkBins ref@1.3.5 160 verbose linkMans ref@1.3.5 161 silly build ref-struct@1.1.0 162 info linkStuff ref-struct@1.1.0 163 silly linkStuff ref-struct@1.1.0 has E:\project\win32-api\source\node_modules as its parent node_modules 164 verbose linkBins ref-struct@1.1.0 165 verbose linkMans ref-struct@1.1.0 166 silly build ffi@2.2.0 167 info linkStuff ffi@2.2.0 168 silly linkStuff ffi@2.2.0 has E:\project\win32-api\source\node_modules as its parent node_modules 169 verbose linkBins ffi@2.2.0 170 verbose linkMans ffi@2.2.0 171 silly doSerial global-link 48 172 silly doParallel update-linked 48 173 silly doSerial install 48 174 silly install debug@2.6.9 175 info lifecycle debug@2.6.9~ install: debug@2.6.9 176 silly install debug@2.6.9 177 info lifecycle debug@2.6.9~ install: debug@2.6.9 178 silly install debug@2.6.9 179 info lifecycle debug@2.6.9~ install: debug@2.6.9 180 silly install ref@1.3.5 181 info lifecycle ref@1.3.5~ install: ref@1.3.5 182 verbose lifecycle ref@1.3.5~ install: unsafe-perm in lifecycle true 183 verbose lifecycle ref@1.3.5~ install: PATH: d:\program\nvm\v8.9.0\node_modules\npm\bin\node-gyp-bin;E:\project\source\node_modules\ref\node_modules.bin;E:\project\source\node_modules.bin;.;c:\Program Files\Java\jdk1.8.0_74\bin;c:\Program Files\Java\jdk1.8.0_74\jre\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\CMake\bin;d:\oracle-driver\instantclient_12_1\;C:\Program Files\Git\cmd;d:\Program\nvm\;d:\program\nvm;d:\Program\nodejs;d:\Program\ImageMagick-7.0.6-Q16;C:\Program Files\TortoiseGit\bin;c:\Program Files (x86)\Tesseract-OCR\;C:\Program Files (x86)\Gpg4win..\GnuPG\bin;C:\Users...\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users...\AppData\Local\Programs\Python\Python36\;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\Common Files\NetSarang;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Users...\AppData\Local\gnupg\bin 184 verbose lifecycle ref@1.3.5~ install: CWD: E:\project\source\node_modules\ref 185 silly lifecycle ref@1.3.5~ install: Args: [ '/d /s /c', 'node-gyp rebuild' ] 186 silly lifecycle ref@1.3.5~ install: Returned: code: 1 signal: null 187 info lifecycle ref@1.3.5~ install: Failed to exec install script 188 verbose unlock done using C:\Users...\AppData\Roaming\npm-cache_locks\staging-6a5687d19f034609.lock for E:\project\source\node_modules.staging 189 warn tslint@5.8.0 requires a peer of typescript@>=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev but none is installed. You must install peer dependencies yourself. 190 warn tsutils@2.12.1 requires a peer of typescript@>=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >= 2.4.0-dev || >= 2.5.0-dev || >= 2.6.0-dev || >= 2.7.0-dev but none is installed. You must install peer dependencies yourself. 191 verbose stack Error: ref@1.3.5 install: node-gyp rebuild 191 verbose stack Exit status 1 191 verbose stack at EventEmitter. (d:\program\nvm\v8.9.0\node_modules\npm\node_modules\npm-lifecycle\index.js:280:16) 191 verbose stack at emitTwo (events.js:126:13) 191 verbose stack at EventEmitter.emit (events.js:214:7) 191 verbose stack at ChildProcess. (d:\program\nvm\v8.9.0\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 191 verbose stack at emitTwo (events.js:126:13) 191 verbose stack at ChildProcess.emit (events.js:214:7) 191 verbose stack at maybeClose (internal/child_process.js:925:16) 191 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 192 verbose pkgid ref@1.3.5 193 verbose cwd E:\project\source 194 verbose Windows_NT 6.1.7601 195 verbose argv "d:\Program\nodejs\node.exe" "d:\Program\nodejs\node_modules\npm\bin\npm-cli.js" "i" 196 verbose node v8.9.0 197 verbose npm v5.5.1 198 error code ELIFECYCLE 199 error errno 1 200 error ref@1.3.5 install: node-gyp rebuild 200 error Exit status 1 201 error Failed at the ref@1.3.5 install script. 201 error This is probably not a problem with npm. There is likely additional logging output above. 202 verbose exit [ 1, true ]

waitingsong commented 6 years ago

ia32/node.lib corrupted. re-install node v8.9.0 32 then ok