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
I am running Vite on a test suite in a monorepo. Although other tooling (expecially typescript tooling and my editor) resolves modules correctly, with autocompletion and navigation working well, Vite doesn't seem to be able to resolve a module even when the resolved path is correct.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
I am running Vite on a test suite in a monorepo. Although other tooling (expecially typescript tooling and my editor) resolves modules correctly, with autocompletion and navigation working well, Vite doesn't seem to be able to resolve a module even when the resolved path is correct.
In the
Logs
section below you can see a build from a clean checkout of the example repro at https://github.com/cefn/vite-resolution-repro/tree/5e7f0f6fd210b2b5fa50783bbc3896e76abb195b They show the failure to resolve the ...types module, followed by a listing that shows that the types module is in fact there in place.Reproduction
https://github.com/cefn/vite-resolution-repro/tree/5e7f0f6fd210b2b5fa50783bbc3896e76abb195b
Steps to reproduce
Run
npm install && npm run test
.System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: