使用 cakephp 5.0.2 我无法烘焙代码,“蛋糕烘焙”返回以下错误
我错过了什么吗?该应用程序已从 cakephp 4.5 版本迁移。
bin/cake bake
Unknown command `cake bake`. Run `cake --help` to get the list of commands.
Did you mean: `bake policy`?
Other valid choices:
- help
- version
- cleaner
- console
- relance
- i18n
- routes
- server
- benchmark
- bake policy
仅带有垃圾箱/蛋糕:
bin/cake
*未提供命令。选择可用命令之一。
当前路径:
可用命令:
应用程序:
授权:
蛋糕PHP:
调试套件:
要运行命令,请键入
cake command_name [args|options]
要获取有关特定命令的帮助,请输入 cake command_name --help
烘焙插件未加载
bin/cake plugin load Bake
解决了问题 感谢@ndm