I made some changes to my gulpfile.js.
Then I received the following syntax error in my terminal after executing the gulp
command:
'version' errored after 657 μs SyntaxError: Unexpected token } at Object.parse (native) at VersionTask.deleteManifestFiles (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/VersionTask.js:114:29) at VersionTask.gulpTask (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/VersionTask.js:72:18) at VersionTask.run (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/Task.js:139:31) at /var/www/html/work/node_modules/laravel-elixir/dist/tasks/GulpBuilder.js:60:37 at Array.forEach (native) at Gulp.(/var/www/html/work/node_modules/laravel-elixir/dist/tasks/GulpBuilder.js:59:54) at module.exports (/var/www/html/work/node_modules/orchestrator/lib/runTask.js:34:7) at Gulp.Orchestrator._runTask (/var/www/html/work/node_modules/orchestrator/index.js:273:3) at Gulp.Orchestrator._runStep (/var/www/html/work/node_modules/orchestrator/index.js:214:10)
Looking in my public/build/css directory I noticed all my css versions are incorrect.
My gulpfile.js
file:
const elixir = require('laravel-elixir');How can further debug or fix this `gulp` error?require('laravel-elixir-vue');
elixir(mix => {
// for the application, after login
mix.sass(['styles.scss','imports.scss'])
.version(['css/styles.css','css/imports.css']);
});