New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm does not sync new files in local path dependencies #5381
Comments
Struggling with this same problem right now, I tried the |
It seems that if we install a local dependency using the But Pnpm also supports the Also, I found that even if we run |
I had issues with the In fact, changes to a dependency using the |
Could you share the problem of using |
Seems like using It makes me quite confused when the post-install log notices me everytime:
However when I use |
I have to remove it from the package.json, run |
pnpm version: 7.9.3
Code to reproduce the issue:
For example, we have the following file structure:
We have a local dependency in
./app/package.json
, and./app
is initialized bypnpm run install
.Next, we create a new file in
./pkg
Then,
text2.txt
is in./pkg
but not in./app/node_modules/awesome
😥Expected behavior:
I expect to see
text2.txt
appear in./app/node_modules/awesome
or inapp/node_modules/.pnpm/file+..+pkg/node_modules/pkg
Actual behavior:
There is no
text2.txt
in./app/node_modules/awesome
or inapp/node_modules/.pnpm/file+..+pkg/node_modules/pkg
Additional information:
Interestingly, changes to existing files are synced between
./pkg
and./app/node_modules/awesome
. For example:node -v
prints: v16.17.0The text was updated successfully, but these errors were encountered: