Comments (5)
Duplicate of #6088
from pnpm.
@buqiyuan probably it has the same cause as #6088, but the description of the problem isn't identical.
from pnpm.
@zkochan any idea which files I can check to look for the cause of the issue? I can help
from pnpm.
In fact it's a duplicate of #6976 and I have made a more or less similar MRE
https://github.com/alvis/mre_pnpm_monorepo_package_injected_peer_build_skipped
Here is the summary of the issue:
If you ignore shared-workspace-lockfile=false
, the prepare script of the injected package is executed prior to the consuming package and everything is fine. But if you set shared-workspace-lockfile=false
, the prepare script of the injected package is skipped before the prepare script of the consuming package is executed
from pnpm.
thx a lot for @alvis 's work.
I've rechecked my repo's pnpm config and unfortunately found the shared-workspace-lockfile=false
.
Hope that this issue will be fixed soon or I need to consider whether to ignore that config.
from pnpm.
Related Issues (20)
- "pnpm why" doesn't work properly
- pnpm can create forbidden file name on windows HOT 1
- package peerDependencies are written into the lock file as if they were dependencies. HOT 1
- I cannot update version HOT 3
- `pnpm outdated` is suggesting an *older* version as the latest version
- Can't use pnpm global packages via SSH
- EBUSY: resource busy or locked and EPERM: operation not permitted on windows
- jsonwebtoken package is not compatible
- Missing dev dependencies (or executables) in Dockerfile HOT 1
- add npm "home" command
- The `--cwd` flag is unsupported but does not throw an error
- peerDependenciesMeta.optional ignored after new `pnpm install`
- `package_manager_strict = false` prints warning
- node-linker set to pnp and symlink set to false still generated node_modules
- Running install.sh without specifying pnpm version pulls 6.31.0 HOT 6
- Workspace packages peerDependencies don't work
- Install fails on OSX HOT 1
- Support `devEngines` field HOT 2
- `pnpm update -r --latest <package-name>` Updates all dependencies instead of only updating the one I selected, (MONOREPO) HOT 4
- `pnpm dedupe` is behaving nondeterministically HOT 4
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.