节点依赖项安装错误

我试图用"npm install blueimp-file-upload-expressjs --save"命令来安装一个依赖项,但不幸的是我最终得到一个错误,说明node-gyp rebuild已经失败。 我尝试了几乎所有我在互联网上find的东西,比如:

  • 安装Python 2.7
  • 安装Microsoft Visual Studio C ++ 2012 Express版本
  • 使用"npm install -g node-gyp"命令"npm install -g node-gyp"
  • 安装Microsoft Visual Studio 2010 Express
  • 安装Windows 7 64位SDK
  • 设置Python.exe环境varibale

提及

我安装了两个版本的python,因此我继续使用"npm config set python /path/to/executable/python2.7"命令进行"npm config set python /path/to/executable/python2.7" 。 我读过Node-Gyp github存储库描述,并遵循所有步骤。 我的操作系统是Windows 7(64位)。

有关这个问题的任何想法,赞赏。

更新:

CMD错误日志:

  $ if not defined npm_config_node_gyp (node "D:\Node-JS\node_modules\npm\b in\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild) gyp ERR! build error gyp ERR! stack Error: ENOENT, open 'C:\Users\user\.node-gyp\0.12.4\x64\no de.lib' gyp ERR! stack at Error (native) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "D:\\Node-JS\\node_modules\\npm\\node_modules\\no de-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\user\node_modules\blueimp-file-upload-expressjs\nod e_modules\lwip gyp ERR! node -v v0.12.4 gyp ERR! node-gyp -v v1.0.3 gyp ERR! not ok npm ERR! Windows_NT 6.1.7601 npm ERR! argv "D:\\Node-JS\\\\node.exe" "D:\\Node-JS\\node_modules\\npm\\ bin\\npm-cli.js" "install" "blueimp-file-upload-expressjs" "--save" npm ERR! node v0.12.4 npm ERR! npm v2.10.1 npm ERR! code ELIFECYCLE npm ERR! lwip@0.0.6 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lwip@0.0.6 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the lwip package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls lwip npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\Users\user\npm-debug.log