Closed gtm-nayan closed 10 months ago
You probably have multiple different versions of @lezer/common in your tree, breaking instanceof
checks. Remove your package lock and reinstall your dependencies.
Ahh, thanks.
Could you tell me which npm version you are using?
It was pnpm in my case, v8.7.1.
I think upgrading to npm 9.x should make it properly deduplicate when upgrading packages (but I'm not sure that hold in all situations)
When upgrading from v1.0.3 to v1.1.0, I ran into this error coming from the @lezer/common package: