2022-04-14 Command vue init requires a global addon to be installed.
翻译:Command vue init requires a global addon to be installed.
具体报错以及原因:
用vue脚手架搭建一个项目时报错【vue init simulatedgreg/electron-vue my-project】
报错:
Command vue init requires a global addon to be installed.
Please run npm i -g @vue/cli-init and try again.
解决方案:直接点击运行报错里的那行代码【npm i -g @vue/cli-init】