直接npm install
安装报了这些错误:
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0.
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "gulp"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! path ../mkdirp/bin/cmd.js
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! syscall symlink
npm ERR! EPROTO: protocol error, symlink '../mkdirp/bin/cmd.js' -> '/home/vagrant/Code/laravel/node_modules/.bin/mkdirp'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "gulp"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! path npm-debug.log.546f0d0cc6d56d878a26aa631313f236
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
怎么回事?我用的是homestead
最新的版本(3.0.3)
做虚拟机。
我用的VirtualBox 5.0,vagrant 1.7.4
,系统是win10.