Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing Vuetify #51

Open
BGriffy78 opened this issue Mar 29, 2020 · 1 comment
Open

Error installing Vuetify #51

BGriffy78 opened this issue Mar 29, 2020 · 1 comment

Comments

@BGriffy78
Copy link

BGriffy78 commented Mar 29, 2020

Hey,

Nice template - thanks for your effort creating this.

When I try and add Vuetify (via a 'vue add vuetify'), the plugin successfully installs, but I get around 95 errors when trying to serve. The errors are all

Syntax Error: SyntaxError: ..... Support for the experimental syntax 'objectRestSpread' isn't currently enabled

Add @babel/plugin-proposal-object-rest-spread (https://git.io/vb4Ss) to the 'plugins' section of your Babel config to enable transformation.

I'm fairly novice with JS and front-end frameworks - I've tried for sometime to fix this with no luck including trying to add the following to the package.json babel configuration.

"plugins": ["@babel/plugin-proposal-object-rest-spread"]

I guess I dont understand how the configuration of babel works in this template, or I am barking up the wrong tree.

Any help appreciated - thanks!

BW

@TimonPost
Copy link

I fixed the error by upgrading all node modules. I believe npm update worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants