Stop Pnpm moving packages installed by different package manager to .ignored
So basically any time I run pnpm add or install commands. It will move packages installed by another package manager to .ignored, I want it to stop moving them.
3 Replies
What have you tried, what have you looked up so far and is there any more information on your projects setup you can provide?
Basically its a mod for a game, the game has its own custom version of yarn so it can use packages. Its not breaking anything, its just a very annoying inconvenience and adds like 10-15 seconds to add packages.
This will install the package locally in your project, rather than importing it from the global store.
pnpm install --no-import <package-name>
Also, you can use the --force flag to force Pnpm to install the package even if it was installed by a different package manager.
pnpm install --force <package-name>