Has anyone experienced building packages that never ends? Not sure what the issue is but this happens every now and then. Happened to me twice and I am not sure how those instances got fixed. Now I want to document it just in case I or someone will encounter this again.
Here is the link of the issue: https://github.com/yarnpkg/yarn/issues/7779
yarn/unplugged should likely always be ignored since they typically hold machine-specific build artifacts. Ignoring it might however prevent Zero-Installs from working (to prevent this, set enableScripts to false ). . yarn/versions is used by the version plugin to store the package release definitions.
after yarn build you can see the build folder inside your project, this folder contains the bundled app or compiled project.
Do yarn remove on each of the dependency packages in package. json ( dependencies and devDependencies entries). This should remove all dependencies including all intermediate dependencies from yarn. lock .
As strange as it may sound. I was having the same issue when I tried to install package using yarn through VS Code. when I hit yarn on the terminal it completed the process without taking any more time than it should.
I experienced the same issue when running yarn install with Electron. The way to solve this was to run:
yarn cache clean && yarn install
while you are on MOBILE NETWORK, via hotspot. For some weird reason the normal network was giving issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With