Here's the screenshot of the error
安装(npm init
)后,我尝试:
$ npm install express
如果我尝试安装任何其他软件包,也会发生同样的事情。
npm ERR! code UNKNOWN
npm ERR! syscall open
npm ERR! path C:\Users\user\AppData\Roaming\npm-cache\_cacache\index-v5\c3\ae\1314e79200fca71af4663702ee1e676113e408ca8a468a396de5ab6d5d2b
npm ERR! errno -4094
npm ERR! UNKNOWN: unknown error, open 'C:\Users\user\AppData\Roaming\npm-cache\_cacache\index-v5\c3\ae\1314e79200fca71af4663702ee1e676113e408ca8a468a396de5ab6d5d2b'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-05-17T17_14_26_890Z-debug.log
此错误可能是什么?
某些问题可以通过使用npm cache clean
清除缓存来解决。运行此命令,然后重试。如果仍然无法使用,请使用-verbose参数在安装上获取更多输出,以查看更多详细信息。