-
Notifications
You must be signed in to change notification settings - Fork 28
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
TypeError: AdminJSExpress.buildAuthenticatedRouter is not a function #111
Comments
I am having the exact same issue. Any help? |
Change:
to
This was updated only in one snippet of the docs, I'll fix it later. |
dickorydock
added a commit
to dickorydock/adminjs-typeorm
that referenced
this issue
May 17, 2023
Removed '*' from AdminJSExpress import. See: SoftwareBrothers/adminjs-expressjs#111
Just as a FYI, you should update the import in https://docs.adminjs.co/installation/plugins/express too. It looks me a while to track down why the base example was not compiling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried implementing the example of an authenticated router provided here but I am running into an error message.
I have changed to use my DB_URI and I am able to access DB_URI both locally and remotely on my fly.io app, but in both cases I run into this error:
Here is the code I am running, based off that adminjsexpress example:
The text was updated successfully, but these errors were encountered: