Questions tagged [adminjs]
43 questions
3
votes
3 answers
Error: Cannot find module '@adminjs/design-system'
I installed AdminJS and was trying to run my application but I am coming across this Error
It says:
Error: Cannot find module '@adminjs/design-system'
Even though design-system exists and I even added it as a require statement
const…

Binaryellipse
- 31
- 2
2
votes
0 answers
Adminjs adding custom reactjs components to my resource on adminjs
I am using adminjs for the first time and I have written my own custom component, but adding it to the resource keeps producing an error that says "You have to implement action component for your Action" Here is my resource:
const {Patient} =…

Immaculate
- 21
- 1
1
vote
1 answer
I'm having trouble importing a file in the database/index.js folder
The problem is on line 2, import './database/index.js'.
Server.js
import './database/index.js'
And this is the index.js file, which is being imported into server.js.
import Sequelize from "sequelize";
import config from…
1
vote
0 answers
How to send custom props to AdminJS.bundle()
Feature request
provide download feature where if i a filter is applied the triggered download should download filtered data in an excel sheet.
Their is an api when given tableName and filter columns it fetches that data returns.
But the issue…

Mohammed Shahed
- 840
- 2
- 15
1
vote
1 answer
Adminjs cant fetch data from mongo database. (NestJS)
I am using adminjs in nestjs and mongoose
this is my product model
const ProductModel = model('product', ProductSchema);
this is my resource
resources: [
{
resource: ProductModel,
options: {
navigation: {…

guseinxo
- 11
- 2
1
vote
0 answers
Deploying Nodejs app with Adminjs dashboard on google cloud read only file system error
I have been trying to upload my Nodejs app to google cloud app engine and I am using Adminjs inside. In my root folder, I have .adminjs folder and .entry.js file nested inside. Google console logs explorer gives [Error: EROFS: read-only file system,…

Josip Marić
- 227
- 4
- 21
1
vote
1 answer
src/app.module.ts:6:21 - error TS2307: Cannot find module 'adminjs' or its corresponding type declarations
enter image description here
I have NestJs App with the docker, and i want to add AdminJs to it. I follow install guide and install everything, but when i compose it up it can not find the module, what can be a problem? on he img You can see that…

Viacheslav
- 21
- 1
1
vote
0 answers
Can't see the ID of the hotel table in adminjs
I have 2 fields which are named hotel and hotel description. In admin page when I add the hotel ID to hotel description image 1. But in the hotel description table on the admin page, the id is not visible image 2.
Here is typeorm entities for…

Yashar Ibra
- 21
- 3
1
vote
0 answers
How to integrate adminjs with pino-http?
I would like to log every request made into adminjs along with the account Id or admin user Id of the person who executed the request.
How can I hook into adminjs and log HTTP requests made by pino-http
This is what my authenticated router looks…

PirateApp
- 5,433
- 4
- 57
- 90
1
vote
1 answer
AdminJS how to make field mandatory
I have been looking for a long time and I have no idea how to do it, do you have a simple solution to make a field mandatory in the action/new or edit pages ? Thanks

Benjamin Merchin
- 1,029
- 6
- 11
1
vote
0 answers
adminjs - customize resource component does not render
I am having trouble to override the rendering of customized resource. The custom component was working before using adminjs 6.0.0
I am getting error
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for…

ImTheRealOne
- 57
- 1
- 6
1
vote
1 answer
adminjs - resource custom component for edit does not update values
I am having some trouble using customize component for one of my resources fields. For my servicesubcategory, I have a field call parent_service_id, which has a belongs to relationship with another model servicecategory. When I use my customize…

ImTheRealOne
- 57
- 1
- 6
1
vote
1 answer
Get related data from another typeorm table (Adminjs integration)?
Is it possible in TypeORM, PostgreSQL, AdminJs with One to Many table relationships to immediately receive data from the associated table, and not a link to this data, as in my example.
@Entity()
export class User extends BaseEntity {
…

Illusion
- 71
- 9
1
vote
0 answers
Don't switch Adminjs to nestjs typeorm
Trying to connect Adminjs to nestjs typeorm.
Unable to start the application, writes an error:
UnhandledPromiseRejectionWarning: NoResourceAdapterError: There are no adapters supporting one of the resource you provided
Although separately without…

Illusion
- 71
- 9
1
vote
1 answer
Adminbro/Adminjs - Sequelize - SequelizeDatabaseError: Conversion failed when converting date and/or time from character string
I am using admin-bro / adminjs to create a CRUD admin portal but some of the fields are date fields and when I tried to Edit an item that already exists and clicked in save Sequelize gives me this error:
SequelizeDatabaseError: Conversion failed…

lumayara
- 402
- 6
- 16