Since upgrading from 5.0.1 to 5.1.1, I'm getting an error in relation to a package trying to import itself.
Vite version: 5.4.10
Error: The following dependencies are imported but could not be resolved:
@ui/lib/utils (imported by <path>/website/packages/ui/src/components/ui/dialog.tsx)
Are they installed?
at file:///<path>/website/node_modules/.pnpm/vite@5.4.10_@types+node@22.9.0/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:50666:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///<path>/website/node_modules/.pnpm/vite@5.4.10_@types+node@22.9.0/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:50171:26
Since upgrading from 5.0.1 to 5.1.1, I'm getting an error in relation to a package trying to import itself.
Vite version: 5.4.10
The project's tsconfig.json looks like:
This works in 5.0.1, no problem at all.
I've tried the
"loose": true
and"allowJs": true
options as in the change for the new version but this hasn't helped.