Bug Report
π Search Terms
"Cannot find name 'meta'" "2304"
π Version & Regression Information
- This is an issue with new "nodenext" support
β― Playground Link
The issue doesn't present in the playground (however it has it's own issues with the code sample).
Instead here is a repo with the issue.
π» Code
const u = new URL(import.meta.url);
π Actual behavior
It produces the error:
Cannot find name 'meta'.ts(2304)
The error vanishes if you edit tsconfig in any way, however if you then edit the file again it reappears.

While this error is shown, the rest of the behaviour of import.meta is still fine, like the type is correct and such.
π Expected behavior
There should be no error.