Generator error
See original GitHub issueHello!
Thanks for awesome library. Unfortunately, I can’t use it with vue-cli, because of the following error. I’m getting this when running: vue add i18n
:
ERROR Error: Line 81: Unexpected reserved word
Error: Line 81: Unexpected reserved word
at ErrorHandler.constructError (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:5012:22)
at ErrorHandler.createError (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:5028:27)
at Parser.unexpectedTokenError (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:1985:39)
at Parser.throwUnexpectedToken (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:1995:21)
at Parser.parsePrimaryExpression (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:2390:38)
at Parser.inheritCoverGrammar (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:2285:37)
at Parser.parseLeftHandSideExpressionAllowCall (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:2899:26)
at Parser.inheritCoverGrammar (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:2285:37)
at Parser.parseUpdateExpression (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:3004:26)
at Parser.parseUnaryExpression (/Users/findutnyy/.node/11.6.0/lib/node_modules/@vue/cli/node_modules/esprima/dist/esprima.js:3048:26)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Common Generator Fault Codes & What To Do -
Common Generator Fault Codes & What To Do · AC Sensing Loss · Battery Charger Fault · Low Battery Voltage · Low Engine...
Read more >Guardian Home Standby Error Codes - Generac Power Systems
Explore some of our most common error codes, and learn about what you should do if your generator displays them.
Read more >Generator Problems & How to Fix Them | Valley Power Systems
generator problems valley power systems 8 Most Common Generator Problems · Leaks · Low Coolant · No Fuel · Generator Failure · Fuel...
Read more >Understanding Generator Error Codes - Energy United
Troubleshooting a problem with your home generator can be as simple as understanding and correcting the error code displayed. Code 1100. Overcrank. Reset...
Read more >Onan Troubleshooting Codes.pdf - Heartland Owners Manuals
TROUBLESHOOTING lists the Fault ... fault shutdown, the indicator light will repeatedly ... GENERATOR ROTOR FAULT—CODE NO. 41.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a result of investigation, it was caused by code due to dynamic importing of
import
ofsrc/main.js
.I have reported to Vue CLI issue it. https://github.com/vuejs/vue-cli/issues/3309
In generally,
src/main.(js|ts)
with Vue CLI generated should not be wrote many codes. I recommend you should be wroten other js|ts file, and import tomain.(js|ts)
.Glad to hear that! Thank you! 🤗