user3612643
user3612643

Reputation: 5772

Yarn does not update local dependency

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?

Upvotes: 34

Views: 14121

Answers (1)

Sergey Okatov
Sergey Okatov

Reputation: 1420

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

Upvotes: 32

Related Questions