这几天在安装nuxt的时候总是出现以下错误,查找了很多资料,反复试了很多次,终于成功了

npx create-nuxt-app myapp 安装出现 Unexpected end of JSON input while parsing near '...devDependencies":

只需要在cmd下(windows)执行:npm cache clean --force  (清除缓存即可)

 

相关文章:

  • 2022-12-23
  • 2021-07-15
  • 2021-09-29
  • 2022-01-07
  • 2021-06-26
  • 2021-08-25
  • 2022-12-23
  • 2022-01-09
猜你喜欢
  • 2021-12-03
  • 2022-01-13
  • 2021-08-28
  • 2022-02-10
  • 2021-09-30
  • 2021-09-14
  • 2021-12-19
相关资源
相似解决方案