Closed stvrdeol closed 1 year ago
Can you please provide the complete code that you are trying to run, as well as the full Quokka Output window content? For example, see our screenshot below that shows both the code and the output window:
it does not work with any code
From your output, I can see that you are using node@13.14.0
which was released 3 years ago with end of life on 1 Jun 2020.
The reason it's not working for you is that you are using jsdom
and the latest versions of jsdom
require Node.js v14 or newer. (Versions of jsdom below v20 still work with previous Node.js versions, but are unsupported.); this is mentioned in their docs.
Internally, jsdom
is using the optional chaining operator, which requires node v14+.
Please update to a newer version of node
and it will work for you. You can see current version support here.
Quokka.js Console Output
Code editor version
Visual Studio Code v1.70.3
OS name and version
Windows 7