启动项目的时候报了个错误,如下图

vue项目启动报 TypeError: Cannot read property 'version' of undefined

首先我执行了:npm install eslint,有时候执行了这句就可以的了。但是我本地发现又报了另外一个错误Cannot find module 'vue-template-compiler/package.json'

vue项目启动报 TypeError: Cannot read property 'version' of undefined

然后我又执行了npm install vue-template-compiler发现还是报错,提示我 you can run: npm install --save register-service-worker vue vue-router vuex,

vue项目启动报 TypeError: Cannot read property 'version' of undefined最后我执行了 npm install,之后再启动项目,发现终于正常了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-10-27
  • 2021-08-28
  • 2021-07-16
  • 2021-09-09
  • 2021-06-26
猜你喜欢
  • 2021-09-14
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案