Open kirrg001 opened 2 years ago
Facing similar issue. We are using knex and objection. In our case, some of the direct dependencies are not installed as well in workspaces. Works fine when these packages are installed in the root.
Facing similar issue. We are using knex and objection. In our case, some of the direct dependencies are not installed as well in workspaces. Works fine when these packages are installed in the root.
this happens if node_modules directories are in the workspace directories. a fresh installation without lockfile and node_modules directory. the issue doesn't happen.
We still see the same issue when having different Next and React versions in two different workspaces.
Same deal as mentioned above. If we run the npm install
inside the workspace folder it works as expected.
I guess it's not a bug yet there is no instruction about how to handle this conflicts. I couldn't find anything in the docs and I would be grateful if you could explain what this error means in workspaces and what we need to do to fix it.
same problem here
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Refs https://github.com/npm/cli/issues/2600
I am using NPM workspaces. I moved all my dev dependencies to the root package.json (because I was running into https://github.com/npm/cli/issues/4056)
knex@0.21 has a peerDependency to mssql@6 (see)
I am getting an error when running npm install
I tried
--legacy--peer-deps
, but this is not what I want. This flag will just ignore the peer dependency. Knex will then use mssql@7!Expected Behavior
I expected that npm provides a way to install both versions.
Steps To Reproduce
See above.
Environment