You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You shouldn't use moduleResolution: 'node' with Astro projects, all your Astro code will run inside a modern bundler that does supports the exports field, as such moduleResolution: 'bundler', the default when using the Astro tsconfig templates, is the proper option.
What version of
starlight
are you using?0.21.0
What version of
astro
are you using?4.4.9
What package manager are you using?
yarn
What operating system are you using?
Mac
What browser are you using?
any
Describe the Bug
TypeScript errors appear when Starlight is used within a monorepo and using typescript project references and
tsc --build
:nb: the
astro/errors
issue appears when usingmoduleResolution: 'node'
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-2fdfac?file=package.json
Participation
The text was updated successfully, but these errors were encountered: