-
Hi there, We've been merrily using babel's support for transpiling JS optional chaining syntax to node v12 in our v1.quasar (Vue v2) app for more than a year. Last week it stopped working and now we're seeing errors like this:
We use a
And the
Any ideas what might have gone wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I guess after you updated
|
Beta Was this translation helpful? Give feedback.
-
I tried "node 10.18.1" and "node 12.22.12" in the list but it yields an error:
|
Beta Was this translation helpful? Give feedback.
-
The app is a vueJS app running node 12 as a compiler. |
Beta Was this translation helpful? Give feedback.
-
"maintained node versions" did the trick! |
Beta Was this translation helpful? Give feedback.
-
@JLHwung I googled I'm now trying this with node v16 and I'm still getting the same problem, optional chaining syntax is not recognised by the compiler, even with "maintained node versions" in the browser list. Please advise. |
Beta Was this translation helpful? Give feedback.
"maintained node versions" did the trick!