【发布时间】:2017-08-30 00:46:57
【问题描述】:
我用:
Laravel 5.4
Windows 10
节点版本:v6.11.1
Npm 版本:5.3.0
如果我跑步:npm install --no-bin-links
存在错误:
npm WARN deprecated express@2.5.11: express 2.x series is deprecated
npm WARN deprecated connect@1.9.2: 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
我该如何解决这个错误?
更新:
我卸载 Node 版本:v6.11.1 并安装新版本 v8.4.0,但还是一样
【问题讨论】:
标签: node.js laravel npm laravel-5.4 laravel-mix