Windows 10,Node – 8.8.1,NPM – 5.4.2,Node-gyp – 3.6.2
我尝试使用以下命令安装双子座: npm install -g gemini
在search这个问题后,我试图通过https://github.com/nodejs/node-gyp#on-windows解决Windows的1个选项。
而在这个stream程中,我有Windows-build-tools安装的麻烦。 我运行在cmd.exe(如pipe理员): npm install –global –production windows-build-tools
条件编译和框架目标
C#编译未知的MSBuild错误MonoDevelop Linux
参见.exe的std :: cout
Jenkins MSBuild插件不能在windows slave上使用cygwin
Git for Windows“无标签文件”来自“git diff”命令的响应
安慰:
C:Windowssystem32>npm install --global --production windows-build-tools > [email protected] postinstall C:Usersp.stepanovAppDaTaroamingnpmnode_moduleswindows-build-tools > node ./lib/index.js Downloading BuildTools_Full.exe Downloading python-2.7.13.msi [> ] 0.0% (0 B/s) Downloaded python-2.7.13.msi. Saved to C:Usersp.stepanov.windows-build-toolspython-2.7.13.msi. Starting installation... events.js:182 throw er; // Unhandled 'error' event ^ Error: spawn powershell.exe ENOENT at _errnoException (util.js:1024:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19) at onErrorNT (internal/child_process.js:374:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: `node ./lib/index.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:Usersp.stepanovAppDaTaroamingnpm-cache_logs2017-10-31T07_47_09_032Z-debug.log
已经是我了:
在C ++构build工具path中添加环境variablesVCTargetsPath顶点
尝试从https://github.com/nodejs/node-gyp#on-windows 2选项
有谁能够帮助我?
用Docker构build.NET应用程序可能吗?
为什么Microsoft.Build.Evaluation在64位PC上将$(ProgramFiles)评估为“c: program files”?
如果批处理系列中没有负退出,批处理如何在TFS构buildstream程中使用-1与MSBuild一起退出
在Windows命令行(最终在MsBuild中)自动执行cygwin命令
Windows上的Hadoop构build/安装错误
我发现问题在https://github.com/Felixrieseberg/windows-build-tools/issues/20中解决:
Just add %systemRoot%/system32/WindowsPowerShell/v1.0 to your PATH and you should be good to go
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。