Syntax error: Unexpected token when trying asyncComponent
See original GitHub issueGetting an error trying to run this…
create-react-app
is up to date etc
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
SyntaxError: Unexpected token - JavaScript - MDN Web Docs
The JavaScript exceptions "unexpected token" occur when a specific language construct was expected, but something else was provided.
Read more >vue-router : Failed to resolve async component default ...
Tried making this change but its not working and I reverted. const router = new VueRouter({ routes, // short for `routes: routes` //...
Read more >Laravel Mix - unexpected token - Laracasts
I am trying to run this Vue.component( 'async-webpack-example', () => import('./my-async-component')l ) I get this error but thought mix could compile ...
Read more >JavaScript Error Handling: Unexpected Token - GeeksforGeeks
An unexpected token occurs if JavaScript code has a missing or extra ... Unexpected token is similar to syntax error but more specific....
Read more >Unexpected token error after adding await keyword to Node.js ...
Neil Lovelace : I keep getting this: This step was still trying to run code when the step ended. Make sure you await...
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
When I updated react-scripts the problem change to this :
So I executed this commands:
And the problem was solved! Thanks very much @jayair !
@EwertonFontes Thanks for reporting back.