Yarn does not update local dependency

Viewed 9755

I have a local dependency in package.json of the form “pkg”: “file:../pkg”.

How can I convince yarn 1.3.2 to fetch the new content of the pkg to node_modules?

1 Answers

You can upgrade the dependencies with yarn upgrade. If it takes too much time, you can upgrade just certain packages yarn upgrade pkg in your case

Related