Replies: 2 comments 4 replies
-
You're in the wrong repo, your issue is for Yarn 1 over at https://github.com/yarnpkg/yarn. The issue is most likely that your cache has been corrupted, you can try clearing it with
Git clone what exactly? |
Beta Was this translation helpful? Give feedback.
-
very weird. I would try to track down the issue by doing:
then check in the yarn log for where it downloaded
you could manually download that file with a Also check the file after it was extracted to the yarn cache (your exact path may vary based on the babel-types version):
and then make sure that the file in the cache matches the file in your |
Beta Was this translation helpful? Give feedback.
-
The picture describes it all, here are my steps to produce the outcome.
git clone ...
yarn install
yarn start
As you can see in the picture when i do the
ng serve
command the angular build fails because a javascript file is containing binary data and not text as it should. This happens constantly but which file it crashes on is never the same, just random, telling me there is not something specifically wrong with that file but with multiple files leading me to believe there is nothing wrong with the npm packages but rather the fetching of the files or the package manager, am I right?Any ideas on how I can solve this or further debug to narrow down exactly what I need to fix?
Yarn: 1.22.5
Node.js: 12.22.1
npm: 6.14.12
I am sorry for the misplaced discussion, as it belongs in Yarn v1 repo. Created a new issue over there FYI
Beta Was this translation helpful? Give feedback.
All reactions