Open remijean opened 5 years ago
I have been experiencing the same issue. After reading about a very similar issue here (https://github.com/FortAwesome/Font-Awesome/issues/12609) I also checked the status of npm.fontawesome (https://status.fortawesome.com/) and can see that it is online and active, so it doesn't seem like their server is down.
Here is what I am trying to run currently:
Yarn version: 1.16.0
Node version: 10.15.3
Npm version: 6.4.1
"dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.18", "@fortawesome/free-brands-svg-icons": "^5.8.2", "@fortawesome/pro-light-svg-icons": "^5.8.2", "@fortawesome/pro-regular-svg-icons": "^5.8.2", "@fortawesome/pro-solid-svg-icons": "^5.8.2", "@fortawesome/react-fontawesome": "^0.1.4", ... }
When I removed my node_modules folder and did another yarn install, I found I got this error. I am not directly referencing transformation-matrix-js@2.7.6 directly in my dependencies. My best guess is that either fontawesome-svg-core or react-fontawesome has this dependency, but it is no longer supported so when yarn goes to retrieve it, it's not there to be retrieved.
I am not really sure how to work around this.
I found a temporary "solution", I delete the lines of my package.json:
"@fortawesome/pro-light-svg-icons": "^5.8.2", "@fortawesome/pro-regular-svg-icons": "^5.8.2", "@fortawesome/pro-solid-svg-icons": "^5.8.2",
I run a yarn, it works, then I restart the installation of three libraries with a yarn add.
Unfortunately, this is not a long-term solution...
@remijean we are not having any service interruptions currently for that npm.fontawesome.com service. Please check you network configuration or connectivity.
@GwendolynWitecki none of our packages use transformation-matrix-js
. Note that the dependency chain points back to webfont-webpack-plugin
.
@robmadole this problem is present on multiple networks and multiple computers. We also have this problem from our Azure server.
Four of our developers have the same problem, so there is a real problem, this issue can not be closed. Do you need more information?
I got a different error when I removed my node_modules folder and attempted a new yarn install.
@robmadole my network connectivity is good but the problem is always present :
@remijean can you try the workaround mentioned here?
https://github.com/yarnpkg/yarn/issues/5540#issuecomment-374069461
CI completely randomly does this. A super long timeout isn't useful because we don't want CI taking this long. I have it running now and it needed almost the entire 10 minutes.
I guess the other workaround posted here might be enough, where before yarn
I will remove the font awesome packages and then yarn add
after. But why would yarn add
have no issue with it and yarn install
does?
This must be a gitlab runner issue. I did all their defaults using their own system to build it so makes no sense... and it also randomly works. Wondering if other people here are using gitlab-ci. With the timeout workaround we just timeout the CI after 20 minutes now instead.
EDIT: yep my issues must be with gitlab-ci somehow. Be nice if we could package fontawesome in a more efficient and dependable way though.
@robmadole Sorry for the late reply. The bug has not appeared since early June... I would test https://github.com/yarnpkg/yarn/issues/5540#issuecomment-374069461 if the bug reappears.
Thanks you.
A network timeout that is super long does not help. I don't want to wait 10 minutes for the install step of our CI. When I increased this stuff usually we just hit a different timeout from CI anyway.
When I posted this here this problem was persistent, in the past was random. Then it became random again. I don't know what it is like now since I'm on holidays.
I think in future we will just bundle dependencies for this instead, since that will be 100% reliable and just when we update we do it manually.
I can no longer execute the "yarn" command, every time Font Awesome returns this error:
My .npmrc file is configured correctly: