• 1
  • 新人请关照

Npm错误:npm ERR! enoent ENOENT: no such file or directory

这是什么原因啊?网上找了好久都没有答案

C:\Users\PC>npm install
npm ERR! path C:\Users\PC\.WebStorm2019.1\system\projectGenerators\vue\https:\registry.npm.taobao.org\vue\download\vue-2.6.10.tgz
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall stat
npm ERR! enoent ENOENT: no such file or directory, stat 'C:\Users\PC\.WebStorm2019.1\system\projectGenerators\vue\https:\registry.npm.taobao.org\vue\download\vue-2.6.10.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\PC\AppData\Roaming\npm-cache\_logs\2019-07-10T00_37_05_854Z-debug.log
阅读 3.3k
评论
    2 个回答
    • 336

    当前目录下没有package.json文件吧

      相似问题
      推荐文章