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

esprima unexpected identifier #75

Open
saiqulhaq opened this issue Jul 26, 2019 · 1 comment
Open

esprima unexpected identifier #75

saiqulhaq opened this issue Jul 26, 2019 · 1 comment
Labels
bug Something isn't working Needs feedback

Comments

@saiqulhaq
Copy link

please help generator doesn't work
no clear error message

? Create bucket if it does not exist? Yes
? Enable Static Site Hosting on bucket? Yes
? Filename of static index page: index.html
? Filename of static error page: index.html
? Where are your built files? dist
? Which files should be deployed? **
? Where in the bucket should the files be deployed? /
? Which Access Control List (ACL) setting should be applied to deployed files? public-read
? Enable PWA deploy (disables caching of certain files) options? No
? Enable invalidation of a CloudFront distribution on deploy? No

🚀  Invoking generator for vue-cli-plugin-s3-deploy...

 ERROR  Error: Line 19: Unexpected identifier
Error: Line 19: Unexpected identifier
    at ErrorHandler.constructError (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:5012:22)
    at ErrorHandler.createError (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:5028:27)
    at Parser.unexpectedTokenError (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:1985:39)
    at Parser.throwUnexpectedToken (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:1995:21)
    at Parser.expect (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:2168:19)
    at Parser.parseArrayInitializer (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:2427:27)
    at Parser.inheritCoverGrammar (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:2285:37)
    at Parser.parsePrimaryExpression (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:2351:38)
    at Parser.inheritCoverGrammar (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:2285:37)
    at Parser.parseLeftHandSideExpressionAllowCall (/Users/xxx/.config/yarn/global/node_modules/esprima/dist/esprima.js:2899:26)
@nicekiwi nicekiwi added bug Something isn't working Needs feedback labels Feb 10, 2020
@Prateema1
Copy link

I got the same exception thrown. It was working perfectly fine for some time but suddenly it threw "Unexpected identifier" error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs feedback
Projects
None yet
Development

No branches or pull requests

3 participants