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

Uncaught TypeError: Cannot read properties of undefined (reading 'split') #100

Open
pro123908 opened this issue Mar 5, 2023 · 0 comments

Comments

@pro123908
Copy link

Hi, I tried to start the adminJs library with mongodb and I got this error

This is the stack trace

Uncaught TypeError: Cannot read properties of undefined (reading 'split') at NavigationElement (navigation-element.tsx:30:29) at renderWithHooks (global.bundle.js:20510:19) at mountIndeterminateComponent (global.bundle.js:24274:14) at beginWork (global.bundle.js:25787:17) at HTMLUnknownElement.callCallback (global.bundle.js:8372:15) at Object.invokeGuardedCallbackDev (global.bundle.js:8421:17) at invokeGuardedCallback (global.bundle.js:8485:32) at beginWork$1 (global.bundle.js:31636:8) at performUnitOfWork (global.bundle.js:30742:13) at workLoopSync (global.bundle.js:30651:6)

Installed libraries and their versions

adminjs": "^6.8.7"
@adminjs/express": "^5.1.0"
@adminjs/sequelize": "^3.0.3"
The database mongodb

My Profile Model
image

App.module.ts
image

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant