Cannot install adminjs 6.1.1
Describe the bug
I tried to install the latest adminjs to an existing nestjs project using and on an empty express project
On both instances when I do npm install -E adminjs, it doesn't finish and show a lot of logs saying that reactjs missmatch
If I instead install [email protected] or [email protected] then the Installation works as expected
Installed libraries and their versions
- [email protected]
- nodejs 16.16.0
To Reproduce Steps to reproduce the behavior:
- npm init -y
- npm install -E adminjs
Expected behavior It is expected that adminjs can be installed
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information if relevant):
- OS: Tested on Windows 10 and MacOS 12
We've recently updated to React 18 while a lot of libraries still use React 16 or 17 as their peer dependencies. We replaced the outdated ones with alternatives where possible but for others we have to wait for them to be updated.
react-currency-input-field works correctly with React 18 despite peer dependency error so you can ignore it. You'd either have to force install packages if using npm:
$ npm install --force
or simply switch to yarn:
$ yarn install
i have same issue ..with node v16
I am having the same issue. Any eta on resolution?
These errors come from other libraries that haven't been updated to React 18. AdminJS wilk work fine if you use yarn or force install using npm as stated above.