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
{{ message }}
Repository navigation
[Bug]: AdminJS frontend assets fail to load when using pnpm due to sym-linked node_modules #1788
We've discovered a bug as we were trying to deploy AdminJS on Nest 11. When loading localhost:3000/admin, we noticed all frontend assets (hosted at /admin/frontend/assets/...) were failing to load and we were met with a blank screen. This was happening whether we were trying to deploy via @adminjs/nestjs or @adminjs/express.
After digging into the adminjs package, we realized it was due to how the frontend assets were setup in utils/router/router.ts. Specifically this line:
And this workaround now works for us! We're even able to use this in an ESM-only environment in Nest. Obviously this just works for us, so we'd want a more robust path dir solution in a PR but putting this up in case anyone is looking for a workaround.
Activity
alihy49 commentedon Feb 16, 2026
Same issue here. Login page is not showing with Nest 11 and pnpm workspaces. The solution is not working for me, so any help would be appreciated
davidMillasseau commentedon May 21, 2026
Do this inn your main.ts:
sendFile from express uses
ignoreby default and pnpm uses dotfiles