nvm-windows编译源码 go遇到的问题
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了nvm-windows编译源码 go遇到的问题,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含5248字,纯文字阅读大概需要8分钟。
内容图文
![nvm-windows编译源码 go遇到的问题](/upload/InfoBanner/zyjiaocheng/1303/909afe65380740a29307bd5b1c5f34cc.jpg)
异常:
Microsoft Windows [Version 10.0.17134.1006] (c) 2018 Microsoft Corporation. All rights reserved. C:\Users\Administrator>go version go version go1.13 windows/amd64 C:\Users\Administrator>cd c:\another\nvm-windows\nvm-windows-master c:\another\nvm-windows\nvm-windows-master>build Building nvm.exe src\nvm\node\node.go:13:3: cannot find package "github.com/blang/semver"in any of: c:\go\src\github.com\blang\semver (from $GOROOT) C:\Users\Administrator\go\src\github.com\blang\semver (from $GOPATH) src\nvm.go:20:3: cannot find package "github.com/olekukonko/tablewriter"in any of: c:\go\src\github.com\olekukonko\tablewriter (from $GOROOT) C:\Users\Administrator\go\src\github.com\olekukonko\tablewriter (from $GOPATH) The system cannot find the file specified. The system cannot find the path specified. ‘c:\another\nvm-windows\nvm-windows-master\bin\nvm.exe‘is not recognized as an internal or external command, operable program or batch file. nvm.exe v built. Clearing old build in c:\another\nvm-windows\nvm-windows-master\distThis version of c:\another\nvm-windows\nvm-windows-master\buildtools\zip.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\iscc.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\zip.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. Could Not Find c:\another\nvm-windows\nvm-windows-master\bin\nvm.exe NVM for Windows v build completed. c:\another\nvm-windows\nvm-windows-master> c:\another\nvm-windows\nvm-windows-master> c:\another\nvm-windows\nvm-windows-master> c:\another\nvm-windows\nvm-windows-master>go get github.com/blang/semver c:\another\nvm-windows\nvm-windows-master>cd c:\Go c:\Go>go get github.com/blang/semver c:\Go>cd c:\another\nvm-windows\nvm-windows-master c:\another\nvm-windows\nvm-windows-master>build Building nvm.exe src\nvm.go:20:3: cannot find package "github.com/olekukonko/tablewriter"in any of: c:\go\src\github.com\olekukonko\tablewriter (from $GOROOT) C:\Users\Administrator\go\src\github.com\olekukonko\tablewriter (from $GOPATH) The system cannot find the file specified. The system cannot find the path specified. ‘c:\another\nvm-windows\nvm-windows-master\bin\nvm.exe‘is not recognized as an internal or external command, operable program or batch file. nvm.exe v built. Clearing old build in c:\another\nvm-windows\nvm-windows-master\distThis version of c:\another\nvm-windows\nvm-windows-master\buildtools\zip.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\iscc.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\zip.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. Could Not Find c:\another\nvm-windows\nvm-windows-master\bin\nvm.exe NVM for Windows v build completed. c:\another\nvm-windows\nvm-windows-master>cd c:\Go c:\Go>go get github.com/olekukonko/tablewriter c:\Go>cd c:\another\nvm-windows\nvm-windows-master c:\another\nvm-windows\nvm-windows-master>build Building nvm.exe 1 file(s) moved. The system cannot find the path specified. nvm.exe vERROR built. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\zip.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\iscc.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. This version of c:\another\nvm-windows\nvm-windows-master\buildtools\zip.exe is not compatible with the version of Windows you‘re running. Check your computer‘s system information and then contact the software publisher. NVM for Windows vERROR build completed. c:\another\nvm-windows\nvm-windows-master>
第一个异常:
Building nvm.exe src\nvm\node\node.go: 13:3: cannot find package "github.com/blang/semver"in any of: c:\go\src\github.com\blang\semver (from $GOROOT) C:\Users\Administrator\go\src\github.com\blang\semver (from $GOPATH)
解决:
c:\Go>go get github.com/blang/semver
第二个异常:
Building nvm.exe src\nvm.go: 20:3: cannot find package "github.com/olekukonko/tablewriter"in any of: c:\go\src\github.com\olekukonko\tablewriter (from $GOROOT) C:\Users\Administrator\go\src\github.com\olekukonko\tablewriter (from $GOPATH)
解决:
c:\Go>go get github.com/olekukonko/tablewriter
原文:https://www.cnblogs.com/JasonChen92/p/11564287.html
内容总结
以上是互联网集市为您收集整理的nvm-windows编译源码 go遇到的问题全部内容,希望文章能够帮你解决nvm-windows编译源码 go遇到的问题所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。