Comments (2)
That makes sense: my repro imports from @deck.gl/react
directly, so pnpm requires it to explicitly declare that as a dependency in package.json. I didn't realize pnpm worked this way, thanks for the explanation / link!
from pnpm.
Maybe I didn't understand the issue, but as you are not installing @deck.gl/react
directly this issue is expected because of the pnpm node_modules
structure. You have 3 options:
- Use
public-hoist-pattern
to link some dependencies to the publicnode_modules
, like thispublic-hoist-pattern[][email protected]*
. - Add
@deck.gl/react
to the dependencies/devDependencies object in thepackage.json
. - Use
shamefully-hoist
to force linking every dependency installed to the publicnode_modules
.
More information: https://pnpm.io/blog/2020/05/27/flat-node-modules-is-not-the-only-way
from pnpm.
Related Issues (20)
- Installing pnpm v8.15.7 still installs `tar` version 6.2.0 instead of 6.2.1 HOT 7
- ERR_PNPM_OTHER_PM_EXPECTED This project is configured to use >=pnpm HOT 12
- Audit doesn't work with GitHub packages with version range
- pnpm v9 install failure when esbuild versions mismatch HOT 6
- Getting Error when cleaning up node_modules HOT 1
- Can't generate shell completion (install from standalone install script) HOT 1
- The PNPM publish command with a tarball file argument ignores the tarball file
- Issue with pnpmfileChecksum and frozen-lockfile HOT 19
- Overrides seem to not work on peer deps HOT 3
- create `.ps1` only when the user policy allows it HOT 3
- pnpm add no longer working in 9.x with sub packages HOT 2
- ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY with relative local dependency (difference between windows and linux CI?) HOT 7
- pnpm install --ignore-package-manager-version HOT 8
- Aliased packages are incorrectly resolved HOT 19
- pnpm v9 complains about ssh+git deps in lockfile v6 HOT 1
- `pnpm completion` command should not evaluate package.json `packageManager` field
- Request to add pnpm install --force as shorthand for pnpm install --no-frozen-lockfile
- pnpm completion should auto complete on scripts in package.json
- Your pnpm version is incompatible with "[email protected]([email protected])". HOT 4
- pnpm incorrectly gets wrong dependency HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnpm.