Open shivam6543 opened 1 day ago
@kaisalmen On further debugging this issue, I found out that mlc@8.7.0 has monaco-editor@~7.0.7 and vscode@~7.0.7 as a direct dependency with ~
. So, when I try to install mlc@~8.7.0 then it automatically upgrades the monaco-editor and vscode packages to the latest 7.0.x version as monaco-editor and vscode dependency has ~
.
can we do something to prevent this issue? Is it ok to get that warning?
@shivam6543 this is done intentionally ~
ensures that the latest patch versions are installed automatically. I don't know if yarn behaves correctly here. Do you already have lock file in place? Try yarn update
to ensure all minor versions are updated to the same version.
Hello Team,
In my project, I’m using the following dependencies:
but when I run yarn install it shows this warning in the terminal:
I’m only installing v7.0.7 but some other package is also trying to install v7.0.11. I’m using yarn package manager to install dependencies.
I tried removing ~ from the packages versions but still somehow it installs two versions. I also tried to run yarn cache clean —all before running yarn install.
Can you please help me how can I install only one version of the dependencies in my project. Thanks!