SoftwareBrothers / adminjs-mongoose

Mongoose adapter for AdminJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pro123908 opened this issue · comments

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