Closed xAlvzx closed 11 months ago
+1 This makes the extension unusable for the time being. Spent 2 days trying to find the source of this error. Can you rollback to a previous release till this is fixed?
Can you rollback to a previous release till this is fixed?
The issue was not caused by any changes in the extension. It was a breaking change in node v21.2.0. The support for the mentioned version of node has been now added and is published in v1.0.257+ of the extension.
What happened?
It doesn't allow starting the Vite server.
Visual Studio Code Version: 1.84.2-1 SO: archlinux Node version: v21.2.0
Version
v1.0.256
Steps to reproduce (or sample repo)
When starting the Vite server with the ninja console, the following error occurs:
[vite] Internal server error: Method Promise.prototype.then called on incompatible receiver 11937 at Number.then ()
at readFileHandle (node:internal/fs/promises:542:30)
at async viteIndexHtmlMiddleware
Disabling it allows the server to run normally.
Log output