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

[Bug Report] TypeError: Received an unexpected value [object Undefined] #169

Closed cyluxx closed 3 years ago

cyluxx commented 4 years ago

Environment

Browsers: Chromium 80.0.3987.87 OS: Linux

Steps to reproduce

Expected Behavior

Vue Cli Plugin configures project

Actual Behavior

Invoking generator for vue-cli-plugin-vuetify...
 ERROR  TypeError: Received an unexpected value [object Undefined]
TypeError: Received an unexpected value [object Undefined]
    at fromAST (/usr/lib/node_modules/@vue/cli/node_modules/jscodeshift/src/core.js:70:9)
    at core (/usr/lib/node_modules/@vue/cli/node_modules/jscodeshift/src/core.js:45:5)
    at newCore (/usr/lib/node_modules/@vue/cli/node_modules/jscodeshift/src/core.js:142:12)
    at toPropertyHash (/usr/lib/node_modules/@vue/cli/lib/util/codemods/injectOptions.js:19:49)
    at Array.map (<anonymous>)
    at injectOptions (/usr/lib/node_modules/@vue/cli/lib/util/codemods/injectOptions.js:20:42)
    at newTransform (/usr/lib/node_modules/@vue/cli/node_modules/vue-jscodeshift-adapter/src/jscodeshift-mode.js:9:14)
    at runCodemod (/usr/lib/node_modules/@vue/cli/lib/util/runCodemod.js:29:26)
    at /usr/lib/node_modules/@vue/cli/lib/Generator.js:290:23
    at Array.forEach (<anonymous>)

Reproduction Link

onurusluca commented 3 years ago

Having this too. Any solutions?

ElijahKotyluk commented 3 years ago

This will be resolved in next release.

baojie223 commented 2 years ago

still not resolved

cplpearce commented 2 years ago

I'm having this same issue with vue add router