vuetifyjs / vue-cli-plugins

πŸ”Œ A collection of Vuetify plugins for Vue CLI
https://vuetifyjs.com/en/getting-started/quick-start#vue-cli-3
Other
428 stars 113 forks source link

CLI Install Issue: SyntaxError: Unexpected token, expected ";" #165

Closed dsteinbach closed 4 years ago

dsteinbach commented 4 years ago
$ vue add vuetify
 WARN  There are uncommited changes in the current repository, it's recommended to commit or stash them first.
? Still proceed? Yes // 2 new text files, shouldn't be an issue

πŸ“¦  Installing vue-cli-plugin-vuetify...

yarn add v1.17.3
[1/5] πŸ”  Validating package.json...
[2/5] πŸ”  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] πŸ”—  Linking dependencies...
[5/5] πŸ”¨  Building fresh packages...

success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ vue-cli-plugin-vuetify@2.0.5
info All dependencies
└─ vue-cli-plugin-vuetify@2.0.5
✨  Done in 9.53s.
βœ”  Successfully installed plugin: vue-cli-plugin-vuetify

? Choose a preset: Default (recommended)

πŸš€  Invoking generator for vue-cli-plugin-vuetify...
 WARN  conflicting versions for project dependency "sass-loader":

- ^7.3.1 injected by generator "undefined"
- ^8.0.0 injected by generator "vue-cli-plugin-vuetify"

Using newer version (^8.0.0), but this may cause build errors.
 ERROR  SyntaxError: Unexpected token, expected ";" (37:8)
SyntaxError: Unexpected token, expected ";" (37:8)
    at Object.raise (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:6420:17)
    at Object.unexpected (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:7773:16)
    at Object.semicolon (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:7755:40)
    at Object.parseExpressionStatement (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:10544:10)
    at Object.parseStatementContent (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:10143:19)
    at Object.parseStatement (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:10009:17)
    at Object.parseBlockOrModuleBlockBody (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:10585:25)
    at Object.parseBlockBody (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:10572:10)
    at Object.parseBlockBody (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:429:11)
    at Object.parseTopLevel (/Users/dsteinbach@API.local/.config/yarn/global/node_modules/@babel/parser/lib/index.js:9940:10)

package.json:

  "devDependencies": {
    "@babel/core": "^7.8.4",
    "@storybook/addon-actions": "^5.3.12",
    "@storybook/addon-jest": "^5.3.12",
    "@storybook/addon-links": "^5.3.12",
    "@storybook/addon-notes": "^5.3.12",
    "@storybook/addon-storyshots": "^5.3.12",
    "@storybook/addon-storyshots-puppeteer": "^5.3.12",
    "@storybook/addon-storysource": "^5.3.12",
    "@storybook/addon-viewport": "^5.3.12",
    "@storybook/addons": "^5.3.12",
    "@storybook/vue": "^5.3.12",
    "@types/jest": "^24.0.19",
    "@types/jquery": "^3.3.32",
    "@types/vue-moment": "^4.0.0",
    "@types/vue-the-mask": "^0.11.0",
    "@typescript-eslint/eslint-plugin": "^2.7.0",
    "@typescript-eslint/parser": "^2.19.0",
    "@vue/cli-plugin-babel": "^4.1.0",
    "@vue/cli-plugin-eslint": "^4.1.0",
    "@vue/cli-plugin-router": "^4.1.0",
    "@vue/cli-plugin-typescript": "^4.1.0",
    "@vue/cli-plugin-unit-jest": "^4.1.0",
    "@vue/cli-plugin-vuex": "^4.1.0",
    "@vue/cli-service": "^4.1.0",
    "@vue/eslint-config-prettier": "^5.0.0",
    "@vue/eslint-config-typescript": "^5.0.0",
    "@vue/test-utils": "1.0.0-beta.31",
    "babel-loader": "^8.0.6",
    "babel-plugin-require-context-hook": "^1.0.0",
    "babel-preset-vue": "^2.0.2",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.1.1",
    "eslint-plugin-vue": "^6.0.1",
    "identity-obj-proxy": "^3.0.0",
    "lint-staged": "^9.5.0",
    "node-sass": "^4.12.0",
    "prettier": "^1.19.1",
    "sass-loader": "^7.x.x",
    "sass-resources-loader": "^2.0.1",
    "storybook-vue-router": "^1.0.7",
    "style-loader": "^1.1.3",
    "typescript": "^3.7.3",
    "vue-cli-plugin-vuetify": "^2.0.5",
    "vue-template-compiler": "^2.6.10",
    "webfonts-loader": "^5.1.1",
    "webpack": "^4.0.0"
  },