Command name was not available. Please run again

根本原因

Command name was not available. Please run again
这个问题的根本原因是electron依赖安装失败

解决方法

删除项目node_modules/electron这个目录,再次执行npm install进行安装即可

你可能感兴趣的:(Command name was not available. Please run again)