pnpm: Could not resolve module preprocess-loader
pnpm version: 0.73.2
Expected behavior:
Existing project is able to complete the build (it works when node modules are installed using npm/yarn)
Actual behavior:
Node errors:
node -v
prints:
ERROR in C:/Users/Tom/.pnpm-store/2/registry.npmjs.org/json3/3.3.2/~/json3/li
b/json3.js
Module not found: Error: Cannot resolve module 'preprocess-loader' in C:\User
s\Tom\.pnpm-store\2\registry.npmjs.org\json3\3.3.2\node_modules\json3\lib
@ C:/Users/Tom/.pnpm-store/2/registry.npmjs.org/json3/3.3.2/~/json3/lib/json
3.js 1:0-135
ERROR in C:/Users/Tom/.pnpm-store/2/registry.npmjs.org/wtf-8/1.0.0/~/wtf-8/wt
f-8.js
Module not found: Error: Cannot resolve module 'preprocess-loader' in C:\User
s\Tom\.pnpm-store\2\registry.npmjs.org\wtf-8\1.0.0\node_modules\wtf-8
@ C:/Users/Tom/.pnpm-store/2/registry.npmjs.org/wtf-8/1.0.0/~/wtf-8/wtf-8.js
1:0-132
- Windows, OS X, or Linux?: Windows
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (12 by maintainers)
Commits related to this issue
- feat: add `independent-leaves` config BREAKING CHANGE: independent dependencies are not symlinked from the global store by default Close #821 — committed to pnpm/pnpm by zkochan 7 years ago
- feat: add `independent-leaves` config BREAKING CHANGE: independent dependencies are not symlinked from the global store by default Close #821 — committed to pnpm/pnpm by zkochan 7 years ago
- feat: add `independent-leaves` config BREAKING CHANGE: independent dependencies are not symlinked from the global store by default Close #821 — committed to pnpm/pnpm by zkochan 7 years ago
@zkochan That’s aweomse of you! Appreciate that.
I’m going now to upgrade to v1 and update here if it solved the issue. Thanks 😃
@stereokai https://www.kochan.io/nodejs/why-should-we-use-pnpm.html
pnpm is usually faster than yarn, and the more deps you have, it becomes much much faster than yarn.
ok, if this causes so many issues then I’ll make the flag turned off by default. And v1 of pnpm will not symlink leaf dependencies from the global store by default