0
我使用:爲什麼在運行npm install --no-bin-links時存在錯誤?
Laravel 5.4
的Windows 10
節點版本:v6.11.1
NPM版本:5.3.0
如果我運行:npm install --no-bin-links
存在錯誤:
npm WARN deprecated [email protected]: express 2.x series is deprecated
npm WARN deprecated [email protected]: connect 1.x series is deprecated
npm ERR! path C:\xampp\htdocs\myshop\node_modules\bs-recipes
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\xampp\htdocs\myshop\node_modules\bs-recipes' -> 'C:\xampp\htdocs\myshop\node_modules\.bs-recipes.DELETE'
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\windows10\AppData\Roaming\npm-cache\_logs\2017-08-30T00_41_20_491Z-debug.log
我該如何解決這個錯誤?
更新:
卸載節點版本:v6.11.1並安裝新版本,V8.4.0,但它是相同的
現在,它的工作原理。我使用:'npm cache clean --force'。看看這個:https://stackoverflow.com/questions/45951131/why-js-and-css-not-load-whereas-compile-asset-laravel-mix-success。我發現了新的問題 –