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
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.
This discussion was converted from issue #19845 on April 14, 2025 04:30.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Please reference
https://github.com/uma-uc/shadcn-v4-vite-turbo/tree/main/apps/reactapp
I am unable to build
It is not recognizing exports/aliases defined in the dependent packages.
I am using "vite": "^6.2.0"
It is working fine in nextjs.
Reproduction
https://github.com/uma-uc/shadcn-v4-vite-turbo/tree/main/apps/reactapp
Steps to reproduce
pnpm install && cd apps/reactapp && pnpm build
..
I get the error
[vite]: Rollup failed to resolve import "@repo/utils/string from "......:
System Info
Used Package Manager
pnpm
Logs
Rolllup failed to resolve import "@repo/utils/string" from "....apps/reactapp/src/App.tsx"
Validations
Beta Was this translation helpful? Give feedback.
All reactions