1

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 the module is there.

try docker-compose up and get error src/app.module.ts:6:21 - error TS2307: Cannot find module 'adminjs' or its corresponding type declarations.

Sybille Peters
  • 2,832
  • 1
  • 27
  • 49
Viacheslav
  • 21
  • 1
  • Hello, going throught the same issue, installed the core package, installed @adminjs/nestjs but I am getting the same issue. `src/dashboard/dashboard.module.ts:18:12 - error TS2307: Cannot find module '@adminjs/nestjs' or its corresponding type declarations. 18 import('@adminjs/nestjs').then(({ AdminModule }) => AdminModule.createAdminAsync({` – James Nganga Jul 27 '23 at 07:48
  • Is there any solution that is found? Even I am stuck with the same issue.. – Shazad Maved Aug 02 '23 at 07:31

1 Answers1

0

it is not clear which guide did you follow to add AdminJS to your app. However, did you install the core package?

yarn add adminjs or npm install adminjs.

Here is the official documentation for reference.

Yazan Zoghbi
  • 127
  • 8