Closed AngusMorton closed 7 months ago
Closing because this was a problem with our tsconfig.json.
Our tsconfig.json included settings for "rootDir": "../../"
and "baseUrl": "./"
, which were unnecessary - removing those options fixes this issue.
marko-vscode@1.1.9
Opening any TypeScript file causes the language service to crash with the error message:
I haven't been able to reproduce this in a smaller shareable project yet, but I'll update this description when I have.
Stacktrace
Workaround
Downgrading to 1.0.19 solves the problem. 1.0.20 and above crash.
Your Environment
The project is a pnpm monorepo, which may be related...
Related Issues
This looks like the same issue as https://github.com/marko-js/language-server/issues/155.