win10下,装的最新Homestead,gulp的时候报错。
vagrant@homestead:~/Code/fmk$ gulp
[07:14:50] Using gulpfile ~/Code/fmk/gulpfile.js
[07:14:50] Starting 'default'...
[07:14:50] Starting 'styles'...
Fetching Styles Source Files...
- resources/assets/dep/bootstrap/dist/css/bootstrap-paper.min.css
- resources/assets/dep/animate-css/animate-css.min.css
- resources/assets/dep/textAngular/dist/textAngular.css
- resources/assets/dep/font-awesome/css/font-awesome.min.css
Saving To...
- public/admin/css/dep.css
[07:14:55] Finished 'default' after 5.05 s
[07:14:55] gulp-notify: [Laravel Elixir] Stylesheets Merged!
[07:14:55] Finished 'styles' after 5.47 s
[07:14:55] Starting 'sass'...
[07:14:56] 'sass' errored after 366 ms
[07:14:56] Error: The `libsass` binding was not found in /home/vagrant/Code/fmk/node_modules/node-sass/vendor/linux-x64-47/binding.node
This usually happens because your node version has changed.
Run `npm rebuild node-sass` to build the binding for your current node version.
at Object.sass.getBinaryPath (/home/vagrant/Code/fmk/node_modules/node-sass/lib/extensions.js:158:11)
at Object.<anonymous> (/home/vagrant/Code/fmk/node_modules/node-sass/lib/index.js:16:36)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/vagrant/Code/fmk/node_modules/gulp-sass/index.js:186:21)
at Module._compile (module.js:425:26)
[07:14:56] Error in plugin 'run-sequence'
Message:
An error occured in task 'sass'.
vagrant@homestead:~/Code/fmk$ gulp -v
[07:19:45] CLI version 3.9.0
[07:19:45] Local version 3.9.1
运行 npm install
的时候也报错。如下
npm install --no-bin-links
npm WARN deprecated [email protected]: Please use gulp-clean-css
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--no-bin-links"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! Maximum call stack size exceeded
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--no-bin-links"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! path npm-debug.log.514498fc5bd9b23815a265daa282db93
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
npm ERR! ETXTBSY: text file is busy, rename 'npm-debug.log.514498fc5bd9b23815a265daa282db93' -> 'npm-debug.log'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/vagrant/Code/fmk/npm-debug.log
求大神指点。