This repository was archived by the owner on May 8, 2025. It is now read-only.
"Unexpected token error" with vue add vuetify
#141
Labels
vue add vuetify
#141
I encoutered an error on
vue add vuetify
command and managed to find a simple scenario to reproduce the issue.Steps to reproduce :
Create a new vue project with @vue/cli-services: 4.1.1 with this config (basic with typescript) :

Add the following code in main.ts

Vue.config.errorHandler = (err: Error, vm: Vue, info: string) => { // For some crash tracking config like Sentry };
Then run :
vue add vuetify
and select the default presetYou will see a nice parser error

If you remove the code added to main.ts it works perfectly ;)
The text was updated successfully, but these errors were encountered: