package-lock.jsonare ignored. Unlike pnpm, npm can install the same
[email protected]multiple times and with different sets of dependencies. npm's shrinkwrap file is designed to reflect the
node_moduleslayout created by npm. pnpm cannot create a similar layout, so it cannot respect npm's lockfile format. However, see pnpm import.
- You can't publish npm modules with
bundleDependenciesmanaged by pnpm.
- Binstubs (files in
node_modules/.bin) are always shell files not symlinks to JS files. The shell files are created to help pluggable CLI apps in finding their plugins in the unusual
node_modulesstructure. This is very rarely an issue and if you expect the file to be a js file, just reference the original file instead, as described in #736.
- Node.js doesn't work with the --preserve-symlinks flag when executed in a project that uses pnpm.
Got an idea for workarounds for these issues? Share them.