Languages
[Edit]
EN

Fix for yarn package installation problem - Error: Couldn't find a package.json file in ...

1 points
Created by:
Broncono
466

1. Problem

Edit

During yarn package installation I got above error (for readability purpose I didn't paste entire error).

2. Solution

Edit

In my case the problem was that some package didn't fetch fully / correctly.

yarn cache clean worked to solve this problem.

 

Similar github issue: https://github.com/yarnpkg/yarn/issues/1058

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join