this.cliEngine is not a constructor 2种解决方法
Webstorm + vue 老是提示 this.cliEngine is not a constructor百度上的解决方法this.cliEngine = require(packagePath + "lib/cli-engine");改为this.cliEngine = require(packagePath + "lib/cli-engine").CLIEngine;然后重启...
·
Webstorm + vue 老是提示 this.cliEngine is not a constructor
百度上的解决方法
this.cliEngine = require(packagePath + "lib/cli-engine");
改为
this.cliEngine = require(packagePath + "lib/cli-engine").CLIEngine;
然后重启webstorm,不过这个方法没解决问题
stackoverflow上的解决方法
1)升级webstorm 到2019版本
2)降级eslint 到5
npm install --save-dev eslint@5
更多推荐
已为社区贡献6条内容
所有评论(0)