egg-init 报错

发布时间 2023-11-27 14:53:57作者: Ferdinand_包子君

[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.