Skip to content

Unexpected token "||=" #1347

Discussion options

You must be logged in to vote

Okay, phew, I managed to solve this by myself. I made a few minor corrections to the ESlint configuration (e.g. decided not to use 'latest' as the value for ecmaVersion), but most importantly, I needed to use a different Node version. I was using v14.17.6, which apparently doesn't support the '||=' operator, even though it should support ES 2021 🤯 Dunno, but using the latest LTS version solved the problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrzejkupczyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant