Vue Cli报错,Error: Cannot find module ‘@vue\cli-service\bin\vue-cli-service.js
打开项目目录node_modules>.bin>vue-cli-service.cmd,内容修改为下:@IF EXIST "%~dp0\node.exe" ("%~dp0\node.exe""%~dp0\..\@vue\cli-service\bin\vue-cli-service.js" %*) ELSE (@SETLOCAL@SET PATHEXT=%PATHEXT:;.JS;=;
·
打开项目目录node_modules>.bin>vue-cli-service.cmd,内容修改为下:
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\@vue\cli-service\bin\vue-cli-service.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\@vue\cli-service\bin\vue-cli-service.js" %*
)
更多推荐
已为社区贡献2条内容
所有评论(0)