重新安裝我的機器上使用Windows 10,與Visual Studio 2015
設置它後,我在安裝我的git倉庫遇到這個錯誤:NPM安裝失敗,錯誤C2373與vs2015更新3
→npm install
在不同的項目失敗:
...
C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: "__pfnDliNotifyHook2": [...]
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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\...\node_modules\buffertools
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
當你說「轉儲條目」,d你的意思是添加或刪除? –
刪除條目! – Beat
我沒有刪除它,但修復仍然有效。我還需要刪除它嗎?謝謝!您可能需要更改您的回覆措辭,以便讓任何非英語母語人士和本土英語人士受益。 –