octoxan
150
4
Mix

Elixir won't run in Laravel 5.3.18

Posted 2 years ago by octoxan
laravel new project
cd project
npm install
gulp
elixir(mix => {
           ^^
SyntaxError: Unexpected token =>
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at execute (C:\Users\xander\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^3.7.0\index.js:24:18)
    at Liftoff.handleArguments (C:\Users\xander\AppData\Roaming\npm\node_modules\gulp-cli\index.js:150:63)
    at Liftoff.<anonymous> (C:\Users\xander\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\liftoff\index.js:193:16)

The default elixir file just dies for me with the new syntax?

Please sign in or create an account to participate in this conversation.