Nuxt2 uses outdated TypeScript version
I am working to migrate a mono-repo.
1.) My root has a package.json and tsconfig that uses TypeScript 5.5.4 (latest version).
2.) I have a packages directory with directories that host small TS based packages. They all build with TS 5.5.4, types and only modules support (no CJS support). These packages are built using unbuild.
3.) I have a app directory, it has its own package.json and tsconfig, thats where my Nuxt2 app is located.
4.) On build and run my Nuxt2 app throws errors which I can only link to an outdated TypeScript version. <4.5 to be precise.
This is the error:
What I already tried
- Forcing 5.5.4 TS version in app directory through resolutions. This produces countless of other errors and does not fix this either.
0 Replies