NickHurst / nuxt-quasar

Nuxt module for the Quasar Framework
38 stars 6 forks source link

Syntax Error: Unexpected token (4:0) when compiling #32

Open edwardcastle opened 2 years ago

edwardcastle commented 2 years ago

I'm getting this error in the compile process ERROR Failed to compile with 1 errors
ERROR in ./.nuxt/nuxt-quasar-plugin.js
Syntax Error: Unexpected token (4:0)

import Quasar, { , ^ from 'quasar/src/index.esm';

import iconSet from 'quasar/icon-set/material-icons.js';


package.json


"resolutions": { "eslint-loader": "2.1.2" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.18", "@fortawesome/free-brands-svg-icons": "^5.8.2", "@fortawesome/free-solid-svg-icons": "^5.8.2", "@fortawesome/vue-fontawesome": "^0.1.6", "core-js": "^3.8.0", "lodash": "^4.17.20", "nuxt": "^2.14.5", "nuxt-fontawesome": "^0.4.0", "nuxt-quasar": "^0.1.3", "sass-loader": "^10.0.2", "stylus": "^0.54.8", "stylus-loader": "^3.0.2", "vue": "^2.6.12", "vue-loader": "^15.9.3", "vue-screen": "^1.5.4", "vue-template-compiler": "^2.6.12", "vuelidate": "^0.7.4", "vuex": "^3.5.1" }, "devDependencies": { "@nuxtjs/eslint-config": "^5.0.0", "@nuxtjs/eslint-module": "^3.0.1", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.1.0", "eslint": "^7.14.0", "eslint-config-prettier": "^6.15.0", "eslint-config-standard": "^16.0.2", "eslint-loader": "^4.0.2", "eslint-plugin-import": ">=2.16.0", "eslint-plugin-jest": ">=22.3.0", "eslint-plugin-node": ">=8.0.1", "eslint-plugin-nuxt": ">=0.4.2", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-promise": ">=4.0.1", "eslint-plugin-standard": ">=4.0.0", "eslint-plugin-vue": "^7.2.0", "prettier": "^1.16.4" } Could you help me guys to figure out what's happening please? thanks...