© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
21 replies
Arlyzatun

Error npm run build

I want to deploy my laravel 11 app in AWS ec2, after i execute npm install, composer install, i wanti to build my nodejs, but i got this error, i dont know why this is happend in my server
vite v6.2.0 building for production...
✓ 1 modules transformed.
✗ Build failed in 26ms
error during build:
Could not resolve entry module "resources/css/filament/member/theme.css".
    at getRollupError (file:///var/www/myapp/node_modules/rollup/dist/es/shared/parseAst.js:397:41)
    at error (file:///var/www/myapp/node_modules/rollup/dist/es/shared/parseAst.js:393:42)
    at ModuleLoader.loadEntryModule (file:///var/www/myapp/node_modules/rollup/dist/es/shared/node-entry.js:21132:20)
    at async Promise.all (index 2)
vite v6.2.0 building for production...
✓ 1 modules transformed.
✗ Build failed in 26ms
error during build:
Could not resolve entry module "resources/css/filament/member/theme.css".
    at getRollupError (file:///var/www/myapp/node_modules/rollup/dist/es/shared/parseAst.js:397:41)
    at error (file:///var/www/myapp/node_modules/rollup/dist/es/shared/parseAst.js:393:42)
    at ModuleLoader.loadEntryModule (file:///var/www/myapp/node_modules/rollup/dist/es/shared/node-entry.js:21132:20)
    at async Promise.all (index 2)

btw, i am using node v.20.19 and npm 10.8. in my server
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

npm run build error, run dev not working
FilamentFFilament / ❓┊help
2y ago
npm install & npm run dev compiles with error
FilamentFFilament / ❓┊help
3y ago
npm run build fails with custom theme created
FilamentFFilament / ❓┊help
6mo ago
npm run build is failing on github actions
FilamentFFilament / ❓┊help
3y ago