adminjs-nestjs icon indicating copy to clipboard operation
adminjs-nestjs copied to clipboard

Incompatitle with nestjs version 8

Open tienpvse1 opened this issue 4 years ago • 1 comments

Describe the bug cannot start the nest project with adminjs installed

Installed libraries and their versions

Reproduce when start the project, it throw a error message: Nest cannot resolved AdminModule

Expected behavior the project should run with adminjs install in nest v8

tienpvse1 avatar Dec 31 '21 07:12 tienpvse1

When I try to integrate the module in app.module.ts I get the following error:

{"statusCode":404,"message":"Cannot GET /admin","error":"Not Found"}

Is this issue still relevant? I noticed some more recent commits.

Here is my app.module.ts file:

@Module({
  imports: [
    AdminModule.createAdmin({
      adminJsOptions: {
        rootPath: '/admin',
        resources: [
        ],
      }
    }),
    ArticlesModule,
  ],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}

jackwlee01 avatar Jun 05 '22 03:06 jackwlee01