W
W
WhatIsHTML2018-10-04 20:43:39
gulp.js
WhatIsHTML, 2018-10-04 20:43:39

Gulp --production error - file cached?

Please help me solve the problem. It's the first time I've come across this.
Installed a new Laravel project. Installed gulp and added gulpfile.js

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

elixir(function (mix) {
    mix.sass([
        "*.scss",
    ], 'public/css/app.css')
        .version('public/css/app.css');
});

I run gulp--production , an error occurs
File to import not found or unreadable: ~bootstrap/scss/bootstrap\n       Parent style sheet: C:/wamp64/www/simplysend/resources/assets/sass/app.scss\n        on line 4 of resources/assets/sass/app.scss\n>> @import \'~bootstrap/scss/bootstrap\';\n   ^\n\n

But there is no import on line 4. It was in the old version of the file. It's like the file is cached. How to fix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question