adminjs-nestjs
adminjs-nestjs copied to clipboard
Incompatitle with nestjs version 8
Describe the bug cannot start the nest project with adminjs installed
Installed libraries and their versions
- [email protected]
- @adminjs/[email protected]
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
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 {}