npm install -g Expo-cli
実行時に、iltorbのインストールでエラーを吐きます。
どうしたらエラーを解決できるでしょうか。
よろしくお願いいたします。
エラー
npm install -g iltorb
としても同じエラーを吐きます。
$ npm install -g iltorb > iltorb@2.4.3 install C:\Users\hoge\AppData\Roaming\npm\node_modules\iltorb > node ./scripts/install.js || node-gyp rebuild info looking for cached prebuild @ C:\Users\hoge\AppData\Roaming\npm-cache\_prebuilds\c677a8-iltorb-v2.4.3-node-v64-win32-x64.tar.gz http request GET https://github.com/MayhemYDG/iltorb/releases/download/v2.4.3/iltorb-v2.4.3-node-v64-win32-x64.tar.gz http request Proxy setup detected (Host: rep.proxy.nic.fujitsu.com, Port: 8080, Authentication: Yes) Tunneling with httpsOverHttps WARN install tunneling socket could not be established, cause=Client network socket disconnected before secure TLS connection was established C:\Users\hoge\AppData\Roaming\npm\node_modules\iltorb>if not defined npm_config_node_gyp (node "C:\Users\hoge\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\hoge\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) このソリューション内のプロジェクトを 1 度に 1 つずつビルドします。並行ビルドを有効にするには、"/m" ス イッチを追加してください。 dictionary.c transform.c bit_reader.c decode.c huffman.c state.c backward_references.c backward_references_hq.c bit_cost.c block_splitter.c brotli_bit_stream.c cluster.c compress_fragment.c compress_fragment_two_pass.c dictionary_hash.c encode.c encoder_dict.c entropy_encode.c histogram.c literal_cost.c memory.c metablock.c static_dict.c utf8_util.c allocator.cc stream_coder.cc stream_decode.cc stream_decode_worker.cc stream_encode.cc stream_encode_worker.cc iltorb.cc win_delay_load_hook.cc C:\Users\hoge.node-gyp\10.14.2\x64\node.lib : fatal error LNK1107: invalid or corrupt fil e: cannot read at 0x4460E6 [C:\Users\hoge\AppData\Roaming\npm\node_modules\iltorb\build\il torb.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\hoge\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\hoge\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\hoge\AppData\Roaming\npm\node_modules\iltorb gyp ERR! node -v v10.14.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iltorb@2.4.3 install: `node ./scripts/install.js || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iltorb@2.4.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
環境
- Windows 10
- Node.js: 10.14.2
- npm: 6.5.0
- windows-build-tools: 4.0.0
あなたの回答
tips
プレビュー