-
Notifications
You must be signed in to change notification settings - Fork 2
fix(cms): add missing vite dependency for admin dev #513
Copy link
Copy link
Open
Description
Background
apps/cms/src/admin/vite.config.ts imports vite, but apps/cms/package.json does not declare it. Local Strapi startup fails during admin build with Cannot find module "vite".
Expected outcome
pnpm dev in apps/cms boots Strapi locally and serves the admin UI without missing-module errors.
Acceptance criteria
-
apps/cmsdeclares the dependency required bysrc/admin/vite.config.ts -
pnpm devstarts successfully for local CMS development -
http://localhost:1337/adminis reachable locally
Possible solution(s)
- Add
viteas a dev dependency inapps/cms. - Remove or replace the custom Vite config if it is no longer needed.
References
apps/cms/src/admin/vite.config.tsapps/cms/package.json
Reactions are currently unavailable