egg-init 报错

[egg-init] new version available: 2.3.1 → 3.0.1, not compatible, you must update to use this.

 

To update the egg-init to the latest version, you can use the following command:

npm install -g egg-init@3.0.1

This command will globally update the egg-init package to version 3.0.1. Please note that the new version may have breaking changes and you should read the changelog before updating to understand how these changes might affect your project.

If you are using yarn as your package manager, use the following command instead:

yarn global add egg-init@3.0.1

Please remember to backup your project before performing the update to prevent any potential data loss.



或使用  egg-init 命令执行
 egg-init

  

 
posted @ 2023-11-27 14:52  Ferdinand_包子君  阅读(1029)  评论(2编辑  收藏  举报