npm WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
Using node version 13 it doesn't even build (I'm on Catalina)
I'm hoping to offload this to sane https://github.com/amasad/sane/pull/130#issuecomment-522994358, but we might need to update here
fsevents v2 also unblocks local Node v12 on OSX, so this change would be super beneficial.
it actually seems pretty trivial to upgrade
@milesj you can use watchman which is faster with Jest to be unblocked
The issue was jest-haste-map was installing fsevents v1, which blocked usage of Node v12 on OSX since it can't compile the binaries. I'll hold out until the fsevents v2 lands in the next release.
hi
I using npm in laravel can you help me this error?
the warning still exists!
jest "24.9.0"
jest-haste-map: "^24.9.0"
I believe this will be fixed by #9215 once a new version of jest-haste-map is released: https://github.com/facebook/jest/pull/9215#issuecomment-570369704
Update: in the meantime, I was able to fix the problem by running npm i fsevents@latest in my project, which seems to prevent npm from installing the older optional dependency within jest-haste-map/node_modules.
Most helpful comment
hi
I using npm in laravel can you help me this error?