New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new version available: 2.3.1 → 3.0.0, not compatible, you must update to use this. #5278
Comments
tnpm装不了3.0.1 |
怎样复现的?执行了什么命令? |
同样出现这个报错,在初始化项目执行npm init egg --type=simple |
同样出现这个报错,在初始化项目执行npm init egg --type=simple |
估计是安装了 egg-init,可以看看版本 egg-init --version 如果是老版本,请先重新安装它,执行 npm i -g egg-init |
node v16.20.0 jj@MBP egg-example % npm init egg --type=simple
[egg-init] use registry: https://registry.npmmirror.com
[egg-init] new version available: 2.3.1 → 3.1.0, not compatible, you must update to use this.
npm ERR! code 1
npm ERR! path /Users/jj/Examples/egg-example
npm ERR! command failed
npm ERR! command sh -c -- create-egg
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jj/.npm/_logs/2024-03-24T11_13_24_507Z-debug-0.log
jj@MBP egg-example % egg-init --version
zsh: command not found: egg-init
jj@MBP egg-example % npm i -g egg-init |
没有啊,还是报这个错 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在此输入你需要反馈的 Bug 具体信息(Bug in Detail):
new version available: 2.3.1 → 3.0.0, not compatible, you must update to use this.
可复现问题的仓库地址(Reproduction Repo)
https://github.com/eggjs
Node 版本号:
v20.10.0
Eggjs 版本号:
项目初始化
相关插件名称与版本号(PlugIn and Name):
无
操作平台与版本号(Platform and Version):
macbook pro
The text was updated successfully, but these errors were encountered: