Laravel.io
ERROR  Failed to compile with 1 errors

 error  in ./resources/assets/app.js

SyntaxError: E:/OpenServer/domains/roulette/resources/assets/app.js: Unexpected
token (11:8)

   9 |     },
  10 |     computed: {
> 11 |         ...mapState({
     |         ^
  12 |             userStore: state => state.userStore
  13 |         })
  14 |     }



 @ multi ./resources/assets/app.js

            Asset      Size  Chunks                    Chunk Names
     /js/store.js    258 kB       0  [emitted]  [big]  /js/store
      /js/main.js   3.04 kB       1  [emitted]         /js/main
       /js/app.js    3.3 kB       2  [emitted]         /js/app
mix-manifest.json  98 bytes          [emitted]

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=developme
nt node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_m
odules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dev script 'node node_modules/cross-env/bin/cross-env.j
s NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-mod
ules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/cross-env/bin/cross-env.js NODE_ENV=development n
ode_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modul
es/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\OpenServer\domains\roulette\npm-debug.log

Please note that all pasted data is publicly available.