grumpyTofu / nx-mongo-migrate

database migrations for mongoose & mongodb
0 stars 2 forks source link

NX Version incompatibility #13

Open NicolasMaso opened 1 year ago

NicolasMaso commented 1 year ago

I have installed the nx-mongo-migrate package in my project that uses nx version 16.7.4 and every time I need to run 'npm install' I get this incompatibility error, and because of that I always have to install with the --force option. Is it possible to upgrade the package's nx version to 16.7.4?

Error:

npm ERR! While resolving: nx-mongo-migrate@0.0.9 npm ERR! Found: nx@16.7.4 npm ERR! node_modules/nx npm ERR! dev nx@"16.7.4" from the root project npm ERR! nx@"16.7.4" from @nrwl/tao@16.7.4 npm ERR! node_modules/@nrwl/tao npm ERR! @nrwl/tao@"16.7.4" from nx@16.7.4 npm ERR! 2 more (@nx/devkit, @nx/workspace) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer nx@"15.6.3" from nx-mongo-migrate@0.0.9 npm ERR! node_modules/nx-mongo-migrate npm ERR! dev nx-mongo-migrate@"^0.0.9" from the root project npm ERR! npm ERR! Conflicting peer dependency: nx@15.6.3 npm ERR! node_modules/nx npm ERR! peer nx@"15.6.3" from nx-mongo-migrate@0.0.9 npm ERR! node_modules/nx-mongo-migrate npm ERR! dev nx-mongo-migrate@"^0.0.9" from the root project

grumpyTofu commented 1 year ago

@NicolasMaso I would be okay with this change. Currently, I do not have the bandwidth to make and test this upgrade though. If you would like to make a PR, then I would be happy to merge it in!