1. Home
  2. Docs
  3. golang
  4. FAQ

FAQ

Q 出现某些依赖包版本不存在?

npm ERR! code ETARGET
npm ERR! notarget No matching version found for event-stream@3.3.6
npm ERR! notarget In most cases you or one of your dependencies are requesting

删除package-lock.json重新更新锁定

compile: version does not match go tool version ?

出现问题原因: 电脑开始安装的golang版本为1.13.1后面使用g(golang版本管理工具)安装了1.16在使用go get -u ....提示版本不匹配. 修改了GO-PATH路径, 还需要修改GOROOT环境变量.

go出现compile: version does not match go tool version

Articles

Was this article helpful to you? Yes No

How can we help?