Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

406
Visualizações
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 AdminJSDesignSystem = require("./@adminjs/design-system");

I also tried installing it again but it gave a huge error Right here

Please help me fix this. I have got here after being through so many errors and fixing them and even now these errors won't stop popping up.

about 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

You need to do something like this:

const AdminJSDesignSystem = require("@adminjs/design-system");
about 4 years ago · Santiago Trujillo Relatório

0

Make sure you have followed the official guide of AdminJS and adminjs/design-system that:

  1. You have the admin user right to install things on your machine.

  2. You have installed one of Express, Hapi and Koajs. If not,

    npm install express express-formidable
    
  3. You have installed AdminJS. If not,

    npm install adminjs @adminjs/express
    
  4. Finally, install according to the official doc:

    npm install styled-components @adminjs/design-system
    
about 4 years ago · Santiago Trujillo Relatório

0

looks like you are importing it using a relative path.

You should change that to just the package name

e.g. const AdminJSDesignSystem = require("@adminjs/design-system");

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda