Skip to content

fix: add missing vite source aliases for transitive @pen/* workspace deps#2

Open
JayaKrishnaNamburu wants to merge 1 commit into
lemni:mainfrom
JayaKrishnaNamburu:main
Open

fix: add missing vite source aliases for transitive @pen/* workspace deps#2
JayaKrishnaNamburu wants to merge 1 commit into
lemni:mainfrom
JayaKrishnaNamburu:main

Conversation

@JayaKrishnaNamburu

@JayaKrishnaNamburu JayaKrishnaNamburu commented Jun 24, 2026

Copy link
Copy Markdown

pnpm dev fails because several @pen/* packages aliased to source in vite.config.ts import other local packages that aren't aliased, causing vite to look for a non-existent dist/. Added the four missing aliases for transitive workspace dependencies.

Post adding the missing alias paths, the local dev server is working fine. And able to see the UI at http://localhost:5174.

Reproduction

To reproduce the issue, run npm run clean. Which clears out all the existing node_modules and build files. And then do a fresh install and npm run dev. If the builds are already ran ones without this change, the dist persist from previous builds. So on clean install and dev builds seems to re-trigger the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant