Beim Ausführen von gulp ist ein Fehler aufgetreten
我想大声告诉你
我想大声告诉你 2017-05-16 16:51:21
0
1
403

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');
});
我想大声告诉你
我想大声告诉你

Antworte allen(1)
世界只因有你

npm rebuild node-sass

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage