Questions tagged [adminjs]
43 questions
0
votes
0 answers
how to store session in mongo database in nodejs
I want to store session in mongoDB in nodejs when i write this code it won't run
const session = require('express-session');
const MongoStore = require('connect-mongo');
const sessionConfig = {
name: 'session',
secret:…

NIMA
- 19
- 2
0
votes
0 answers
Adminjs middleware not getting executed
I am using adminJS and want to log all incoming requests along with the adminUser that initiated those requests.I added a simple middleware but it does not get executed at all
import AdminBro from 'adminjs';
import AdminBroExpress from…

PirateApp
- 5,433
- 4
- 57
- 90
0
votes
1 answer
AdminBro - Failed to upload image
admin-bro and sequelize failed to upload image. It still works on Edit but not on New. It doesn't show the error at any other line in the code.
Installed libraries and their versions
"admin-bro": "^2.2.4",
"admin-bro-expressjs":…

Abel Zewdu
- 3
- 1
0
votes
0 answers
ERROR: Trying to bundle file but it doesn't exist with adminjs/adminbro
I have an api with adminjs and upload feature with aws s3 that is working correctly when i run locally. But when deployed on vercel i get the following error:
t.Module.\_extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load…
0
votes
1 answer
Adminjs ComponentLoader not found
I have been trying to make custom component in Adminjs 6.6.5 dashboard but Adminjs ComponentLoader not found error occurs. then i have tried to
import AdminJS from 'adminjs'
const {ComponentLoader} = AdminJS
but i get: Trying to bundle file…

Josip Marić
- 227
- 4
- 21
0
votes
2 answers
Adminjs given file doesnt exist
I have been trying to make my custom component for Adminjs dashboard. My project is made in Nodejs and Adminjs can be customized in React, so I created dashboard.jsx file inside components/dashboard folders, but when I implement that in…

Josip Marić
- 227
- 4
- 21
0
votes
1 answer
0
votes
0 answers
How to filter a dropdown based on other dropdown in the same resource in AdminJS?
Let me describe my problem very simply. I am using AdminJs v5.9.9. I have 3 resources, city, country and hotel. There must be a relationship between city and country, as you assume the foreign key country in the city model. In resource hotel I have…

Siddiqui Noor
- 5,575
- 5
- 25
- 41
0
votes
1 answer
AdminJS call backend from component with arguments
I am trying to call an action with arguments from an AdminJS component. I am uploading files to aws s3.
There is the api.resourceAction method that works well for me to call a resource action, but I need to send some strings to the action, is there…

Benjamin Merchin
- 1,029
- 6
- 11
0
votes
1 answer
How can I upload large files to s3 using adminjs dashboard without any issues?
I'm trying to upload files(40mbs+) to s3 using @adminjs\upload feature in adminjs dashboard.
When I test on localhost, It uploads most of these files with no issues, but takes a very long time to upload. However, when I try on the deployed version…

Haidy Elnahass
- 3
- 2
0
votes
1 answer
Custom Filter AdminJS (Component + Action)
I am trying to create a custom filter. I am on a table and want to sort according to fields on another table. ManyToMany relation between tables.
I also need to create a custom filter component, with matching design.
After a day of work, my working…

Benjamin Merchin
- 1,029
- 6
- 11
0
votes
1 answer
Customize display values for foreign key related table values in AdminJs
I’m newish to Adminjs and I’m having the following challenge:
I have one table with both id and name columns. Adminjs automatically shows the name value for columns that are referenced with a foreign key to the id of the parent table. (Great…

NylonEric
- 11
- 4
0
votes
1 answer
nodejs adminBro mysql There are no adapters supporting one of the resource you provided
I have been trying to implement Admin Bro with my existing mysql sequelized database. I get plain Admin panel and it works fine, however when i try to fetch db i get: There are no adapters supporting one of the resource you provided error. Please…

Josip Marić
- 227
- 4
- 21