Une erreur s'est produite lorsque Laravel a exécuté gulp
我想大声告诉你
我想大声告诉你 2017-05-16 16:51:21
0
1
396

Laravel a rencontré une erreur lors de l'exécution de gulp. Voici le message d'erreur :

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)

Quelles sont les principales significations du message d'erreur ci-dessus ?

Ce qui suit est gulpfile.js :

var elixir = require('laravel-elixir');

require('laravel-elixir-vue');


elixir(function(mix) {
    mix.sass('app.scss')
       .webpack('app.js');
});
我想大声告诉你
我想大声告诉你

répondre à tous(1)
世界只因有你

npm reconstruire node-sass

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!