Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Adminjs not working under express 5.0.1 #1739

Open
TakahashiNguyen opened this issue Jan 28, 2025 · 2 comments
Open

[Bug]: Adminjs not working under express 5.0.1 #1739

TakahashiNguyen opened this issue Jan 28, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@TakahashiNguyen
Copy link

Contact Details

[email protected]

What happened?

I was trying to access AdminJS's login page but it stuck at loading phase and keep request /admin/frontend/assets/components.bundle.js

Bug prevalence

when upgrade to express v4 to v5

AdminJS dependencies version

"@adminjs/express": "^6.1.1",
"@adminjs/typeorm": "^5.0.1",
"adminjs": "^7.8.15",
"express": "^5.0.1",

What browsers do you see the problem on?

No response

Relevant log output

Relevant code that's giving you issues

@tomups
Copy link
Contributor

tomups commented Feb 4, 2025

Same problem, most likely due to Express 5 changes in route matching.

I have reported here as this is where the Express stuff is implementation SoftwareBrothers/adminjs-expressjs#118

@leonakao
Copy link

leonakao commented Feb 7, 2025

Last month NestJs release the new version 11 that uses Express v5. This problem also affects new projects with Nest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants