Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Nest.js 10 #57

Open
v-checha opened this issue Jun 20, 2023 · 2 comments
Open

Support Nest.js 10 #57

v-checha opened this issue Jun 20, 2023 · 2 comments

Comments

@v-checha
Copy link

I found next error after upgrade Nest.js to version 10.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @nestjs/[email protected]
npm ERR! node_modules/@nestjs/core
npm ERR!   @nestjs/core@"10.0.2" from the root project
npm ERR!   peer @nestjs/core@">=9.0.5" from @adminjs/[email protected]
@teslitsky
Copy link

In fact, AdminJS supports NestJS@10. I was getting the same issue when I tried to upgrade packages. But manually uninstalling npm uninstall @adminjs/nestjs @nestjs/common @nestjs/config @nestjs/core @nestjs/platform-express @nestjs/testing and installing the latest versions fixed it.

@niksbanna
Copy link

I am using NEST v10.1.10 and it's working fine for me.
Here is my dependencies list

"dependencies": {
    "@adminjs/express": "^6.0.1",
    "@adminjs/mongoose": "^4.0.0",
    "@adminjs/nestjs": "^6.0.1",
    "@nestjs/common": "^10.0.0",
    "@nestjs/config": "^3.1.1",
    "@nestjs/core": "^10.0.0",
    "@nestjs/mongoose": "^10.0.1",
    "@nestjs/platform-express": "^10.0.0",
    "adminjs": "^7.3.0",
    "express-formidable": "^1.2.0",
    "express-session": "^1.17.3",
    "mongoose": "^7.6.3",
    "reflect-metadata": "^0.1.13",
    "rxjs": "^7.8.1"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants