Laravel ist beim Ausführen von gulp auf einen Fehler gestoßen. Die folgende Fehlermeldung lautet:
dell@DESKTOP-MVU77SM MINGW64 /d/wnmp/www/laravel-5-3-demo
$ node -v
v7.0.0-nightly2016080329e49fc286
dell@DESKTOP-MVU77SM MINGW64 /d/wnmp/www/laravel-5-3-demo
$ npm -v
3.10.5
dell@DESKTOP-MVU77SM MINGW64 /d/wnmp/www/laravel-5-3-demo
$ gulp --production
(node:6536) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[00:17:55] Using gulpfile D:\wnmp\www\laravel-5-3-demo\gulpfile.js
[00:17:55] Starting 'all'...
[00:17:55] Starting 'sass'...
[00:17:55] 'sass' errored after 33 ms
[00:17:55] Error: ENOENT: no such file or directory, scandir 'D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:944:18)
at Object.getInstalledBinaries (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\extensions.js:119:13)
at foundBinariesList (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\errors.js:20:15)
at foundBinaries (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\errors.js:15:5)
at Object.module.exports.missingBinary (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\errors.js:45:5)
at Object.<anonymous> (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\index.js:15:28)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
[00:17:55] 'all' errored after 37 ms
[00:17:55] Error in plugin 'run-sequence(sass)'
Message:
ENOENT: no such file or directory, scandir 'D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\vendor'
Details:
errno: -4058
code: ENOENT
syscall: scandir
path: D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\vendor
Stack:
Error: ENOENT: no such file or directory, scandir 'D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:944:18)
at Object.getInstalledBinaries (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\extensions.js:119:13)
at foundBinariesList (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\errors.js:20:15)
at foundBinaries (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\errors.js:15:5)
at Object.module.exports.missingBinary (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\errors.js:45:5)
at Object.<anonymous> (D:\wnmp\www\laravel-5-3-demo\node_modules\node-sass\lib\index.js:15:28)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
Was sind die Hauptbedeutungen der obigen Fehlermeldung?
Das Folgende ist gulpfile.js:
var elixir = require('laravel-elixir');
require('laravel-elixir-vue');
elixir(function(mix) {
mix.sass('app.scss')
.webpack('app.js');
});
npm rebuild node-sass