首页 > Windows开发 > 详细

nvm-windows编译源码 go遇到的问题

时间:2019-09-21 21:54:29      阅读:134      评论:0      收藏:0      [点我收藏+]

  异常: 

  

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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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 youre running. Check your computers 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

   技术分享图片

 

nvm-windows编译源码 go遇到的问题

原文:https://www.cnblogs.com/JasonChen92/p/11564287.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!