You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use your code in a vue app using NodeJS
ERROR Failed to compile with 1 errors 6:35:08 PM
error in ./node_modules/ovoid/src/index.js
Module parse failed: Unexpected token (200:6)
You may need an appropriate loader to handle this file type.
| return {
| 'Authorization': this.authToken,
| ...this.headers
| }
| }
Hi,
My system says I'm on ES6 but but still did not work in the first place.
I changed the code on line 197 in index.js to the code below and after that it's working without errors.
See this link: http://es6-features.org/#SpreadOperator
I'm trying to use your code in a vue app using NodeJS
ERROR Failed to compile with 1 errors 6:35:08 PM
error in ./node_modules/ovoid/src/index.js
Module parse failed: Unexpected token (200:6)
You may need an appropriate loader to handle this file type.
| return {
| 'Authorization': this.authToken,
| ...this.headers
| }
| }
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/MyAccount.vue 436:12-28
@ ./src/views/MyAccount.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server ./src/main.js
The text was updated successfully, but these errors were encountered: