zoukankan      html  css  js  c++  java
  • nvm-windows编译源码 go遇到的问题

      异常: 

      

    Microsoft Windows [Version 10.0.17134.1006]
    (c) 2018 Microsoft Corporation. All rights reserved.
    
    C:UsersAdministrator>go version
    go version go1.13 windows/amd64
    
    C:UsersAdministrator>cd c:another
    vm-windows
    vm-windows-master
    
    c:another
    vm-windows
    vm-windows-master>build
    Building nvm.exe
    src
    vm
    ode
    ode.go:13:3: cannot find package "github.com/blang/semver" in any of:
            c:gosrcgithub.comlangsemver (from $GOROOT)
            C:UsersAdministratorgosrcgithub.comlangsemver (from $GOPATH)
    src
    vm.go:20:3: cannot find package "github.com/olekukonko/tablewriter" in any of:
            c:gosrcgithub.comolekukonko	ablewriter (from $GOROOT)
            C:UsersAdministratorgosrcgithub.comolekukonko	ablewriter (from $GOPATH)
    The system cannot find the file specified.
    The system cannot find the path specified.
    'c:another
    vm-windows
    vm-windows-masterin
    vm.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
    vm-windows
    vm-windows-masterdist
    This version of c:another
    vm-windows
    vm-windows-masteruildtoolszip.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
    vm-windows
    vm-windows-masteruildtoolsiscc.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
    vm-windows
    vm-windows-masteruildtoolszip.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
    vm-windows
    vm-windows-masterin
    vm.exe
    NVM for Windows v build completed.
    
    c:another
    vm-windows
    vm-windows-master>
    c:another
    vm-windows
    vm-windows-master>
    c:another
    vm-windows
    vm-windows-master>
    c:another
    vm-windows
    vm-windows-master>go get github.com/blang/semver
    
    c:another
    vm-windows
    vm-windows-master>cd c:Go
    
    c:Go>go get github.com/blang/semver
    
    c:Go>cd c:another
    vm-windows
    vm-windows-master
    
    c:another
    vm-windows
    vm-windows-master>build
    Building nvm.exe
    src
    vm.go:20:3: cannot find package "github.com/olekukonko/tablewriter" in any of:
            c:gosrcgithub.comolekukonko	ablewriter (from $GOROOT)
            C:UsersAdministratorgosrcgithub.comolekukonko	ablewriter (from $GOPATH)
    The system cannot find the file specified.
    The system cannot find the path specified.
    'c:another
    vm-windows
    vm-windows-masterin
    vm.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
    vm-windows
    vm-windows-masterdist
    This version of c:another
    vm-windows
    vm-windows-masteruildtoolszip.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
    vm-windows
    vm-windows-masteruildtoolsiscc.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
    vm-windows
    vm-windows-masteruildtoolszip.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
    vm-windows
    vm-windows-masterin
    vm.exe
    NVM for Windows v build completed.
    
    c:another
    vm-windows
    vm-windows-master>cd c:Go
    
    c:Go>go get github.com/olekukonko/tablewriter
    
    c:Go>cd c:another
    vm-windows
    vm-windows-master
    
    c:another
    vm-windows
    vm-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
    vm-windows
    vm-windows-masteruildtoolszip.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
    vm-windows
    vm-windows-masteruildtoolsiscc.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
    vm-windows
    vm-windows-masteruildtoolszip.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
    vm-windows
    vm-windows-master>

      第一个异常:

    Building nvm.exe
    src
    vm
    ode
    ode.go:13:3: cannot find package "github.com/blang/semver" in any of:
            c:gosrcgithub.comlangsemver (from $GOROOT)
            C:UsersAdministratorgosrcgithub.comlangsemver (from $GOPATH)

      解决:

    c:Go>go get github.com/blang/semver

      第二个异常:

    Building nvm.exe
    src
    vm.go:20:3: cannot find package "github.com/olekukonko/tablewriter" in any of:
            c:gosrcgithub.comolekukonko	ablewriter (from $GOROOT)
            C:UsersAdministratorgosrcgithub.comolekukonko	ablewriter (from $GOPATH)

      解决:

    c:Go>go get github.com/olekukonko/tablewriter

       

        nvmp修改配置文件settings.txt  采坑https://www.cnblogs.com/shanefe/p/7859539.html

      配置镜像不然速度太慢

    node_mirror: http://npm.taobao.org/mirrors/node/
    npm_mirror: https://npm.taobao.org/mirrors/npm/
  • 相关阅读:
    我的书单
    说说IUnitOfWork~Linq to Sql与EntityFrameworks中的SubmtChanges()发生了什么事
    说说IUnitOfWork~认识IUnitOfWork,为什么要出现IUnitOfWork接口
    LINQtoSQL那点事~关于延时加载的性能,微软给出了不错的解决方案
    数据结构~站点地图其实是一颗树
    说说IUnitOfWork~方法完整性与统一提交不冲突
    递归 解剖
    Java Socket一对一聊天
    转:浅谈c++容器
    Java JList 使用
  • 原文地址:https://www.cnblogs.com/JasonChen92/p/11564287.html
Copyright © 2011-2022 走看看