用戶在使用npm進行前端構建過程當中,發現以下報錯前端
+ npm cache verify npm ERR! code ENOENT npm ERR! syscall stat npm ERR! path /home/cis/.npm/_cacache/content-v2/sha1/3e/58/51f3685a2808b325f13d72a7a2feaa5e3354 npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, stat '/home/cis/.npm/_cacache/content-v2/sha1/3e/58/51f3685a2808b325f13d72a7a2feaa5e3354' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
上面這個保存是由於npm本地依賴緩存缺失致使的npm
讓用戶從新執行一次構建,從新生成一次依賴緩存緩存