-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn fails to install fsevents while npm succeeds #5962
Comments
yarn
fails to install fsevents
while npm
succeeds
This is not yarn. It is AWS giving you a 404 from one of the install scripts running through fsevents. Looks like it goes through with npm because it was cached. If you try again with Yarn it may go through if this was a temporary server issue. If not, then if you clear your npm cache and try again, that will also fail. |
I cleared both my yarn and node caches and I still get this error, yarn 1.6.0, node 10.1.0. |
I am getting this issue as well on Update: it turns out the version of Webpack we are using depends on an older version of Try running |
I'm also having this issue, but only in directories that I set up with If I create a new directory, i.e. for a different project, then I have no issues. I'm using I've tried running Anyone have any other ideas? |
@sisterjones I'm having the same issue in my Mac with CRA and is driving me crazy (Node 10.4.1). It works in Windows though, but I have Node 9.11.1 in Windows Edit: I downgraded to Node 9.11.12 and everything works fine now. Hopefully a fix to this is released soon |
Same issue on MacOS with node 10.5.0 |
same issue with node 10.6.0 (macOs mojave beta 2) |
Just downgrade the node to LTS 8.11.3 will works fine. Every nodejs version lower than 10 should work. |
I experienced this issue when upgrading my Ember project to version 3.2, which requires node 10+. The only thing that helped was |
use node 8.11 fixed |
The latest Yarn version fixes this. I haven't had this issues since updating and now I'm running Node 10.x |
I can not run yarn upgrade because it says:
when run yarn install it says:
Seams like an mission impossible to me |
@Macilias you can delete the lock file and yarn will re-create it when running |
while true, yarn fails to recreate it once the file has been deleted, so the project stays in an unusable state ... We could not figure out how to update it to get into a usable state. |
I've cleared the cache and that works perfectly. try |
The same with
|
Try running |
I have the same issue, just like @maximelafarie
EDIT
|
Mine worked with following -
|
Same error as @maximelafarie, with
Edit |
This issue is happening for me as well. yarn 1.12.1 The above fixes did not work for me. |
Same for me:
The above fixes did not work for me. |
Me too.... why is this issue closed?
|
In my case, it was helpful to downgrade python to 2.7 using pyenv. node-gyp would require python 2.7, not 3.x. |
Addresses #39. I had to `rm yarn.lock` and `yarn install` and due to a upstream issue in yarnpkg/yarn#5962 (comment)
I had the same issue as this running the following:
Running I'm |
Another one fixed here by downgrading node from v12.2.0 to LTS v10.15.3. |
There was recently an issue with fsevents causing it to be incompatible with Node 12. This was resolved and released in fsevents v1.2.9. If you have dependencies that rely on fsevents you can tell Yarn to use version 1.2.9 for each of them using resolutions: Add this to your "resolutions": {
"fsevents": "1.2.9"
} |
yarn upgrade solves my issue. |
Please note that Yarn is going to treat packages listed in |
I recently experienced this issue and |
@aindong Did you see the comment above yours?
You can do |
If you still have a problem with How to find them:
|
@egel This is overkill. Most of the dependencies that reference As a note, this works great for most dependencies, but because In any case, running commands like |
i solved |
I don't know if someone still have this issue. I solved it doing I did it on OSX 10.13 High Sierra |
Works for me:
|
It worked for me |
The specific issue came from fsevents. I followed yarnpkg/yarn#5962 (comment) to resolve it.
In my case and since I have Babel I was not able to use:
due to multiple nested dependencies using different version of it. But I succeeded using:
Roughly, Babel team wants to keep compatibility with Node 6 that's why it still use the old Hope it helps 🥰 |
I solved this by deleting |
This solved for me! I had to run it few times as well. |
What I had to do was, run through I upgraded/removed these 3 packages and things works for me again. |
Yep same. Did |
Removing |
In my case, I solved this by adding
Testing with a fresh |
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
With
yarn
With
npm
What is the expected behavior?
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: