tallgeese
Deploying to Ubuntu Server
Anyone ever had this issue on deploy? Everything seems to be set to this last step when running
npm run build
any advice?
npm run build
build vite buildvite v4.4.9 building for production... ✓ 1 modules transformed. ✓ built in 279ms Could not resolve entry module "resources/css/filament.css". error during build: RollupError: Could not resolve entry module "resources/css/filament.css". at error (file:///var/www/projectx/node_modules/rollup/dist/es/shared/node-entry.js:2287:30) at ModuleLoader.loadEntryModule (file:///var/www/projectx/node_modules/rollup/dist/es/shared/node-entry.js:24855:20) at async Promise.all (index 2) EDIT: I noticed in vite.config.js there was this: and I commented out the filament.css line. This allows npm run build to work but now there is no css for any of the frontend pages. Any advice please?
5 replies