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 Error loading vue.config.js Error SyntaxError: Unexpected token { #48

Closed
geekftz opened this issue Dec 2, 2020 · 1 comment
Closed

Comments

@geekftz
Copy link

geekftz commented Dec 2, 2020

environment: node v8.11.1
use vuecli3 to build front project

throw error: node_modules/terser-webpack-plugin/node_modules/p=limit/index.js:29
Unexpected token {

} catch {}

should use

catch(err) { 
 // deal catch error
}

image

@sindresorhus
Copy link
Owner

You need to upgrade your Node.js version.

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