You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, thanks. Errno -22 is EINVAL but it's anybody's guess why that happens.
It's happening inside FSEvents.framework but whether that's because of a bug in node/libuv or the framework, I can't say (and have no way to reproduce, let alone debug.)
I don't really understand all this low level stuff. I found this issue while searching for this error message trying to get react-native run-ios running on a new High Sierra install. FWIW @adambowles in tracking the problem I found another repo issue thread (react/react-native#10028) which fixed my problem by running brew install watchman
Doesn't seem like anyone knows what to do here so I'm going to close this out. It's not even clear if this is a Node.js issue. Please do feel free to reopen if you feel that I've made a mistake — just trying to keep the issue tracker a bit tidier.
Activity
cjihrig commentedon Sep 29, 2017
Does increasing the maximum number of file descriptors (
ulimit -n) make any difference?adambowles commentedon Sep 29, 2017
Then same error reported on
node scripts/test.jsevanlucas commentedon Sep 29, 2017
You will probably need to set maxfiles via launchctl before calling
ulimit -n. Something like:should show 2000. IIRC the default max fds on macOS is 256
bnoordhuis commentedon Sep 30, 2017
Quite possibly related to libuv/libuv#387.
bnoordhuis commentedon Sep 30, 2017
@adambowles Can you check if libuv/libuv#1572 makes a difference?
curl -L https://github.com/libuv/libuv/pull/1572.patch | git am --directory=deps/uvto apply, followed by./configure && make -j8to (re)build.adambowles commentedon Oct 2, 2017
I'm not sure where I should be applying that patch @bnoordhuis
bnoordhuis commentedon Oct 2, 2017
To this repo.
adambowles commentedon Oct 2, 2017
Okay, I've patched and building atm
adambowles commentedon Oct 2, 2017
So yeah, same error output
bnoordhuis commentedon Oct 2, 2017
Okay, thanks. Errno -22 is
EINVALbut it's anybody's guess why that happens.It's happening inside FSEvents.framework but whether that's because of a bug in node/libuv or the framework, I can't say (and have no way to reproduce, let alone debug.)
deps: upgrade libuv to 1.15.0
deps: upgrade libuv to 1.15.0
jbosse commentedon Oct 7, 2017
I don't really understand all this low level stuff. I found this issue while searching for this error message trying to get
react-native run-iosrunning on a new High Sierra install. FWIW @adambowles in tracking the problem I found another repo issue thread (react/react-native#10028) which fixed my problem by runningbrew install watchmandeps: upgrade libuv to 1.15.0
adambowles commentedon Oct 9, 2017
@jbosse Thanks,
brew install watchmangot my tests to rundeps: upgrade libuv to 1.15.0
deps: upgrade libuv to 1.15.0
deps: upgrade libuv to 1.15.0
deps: upgrade libuv to 1.15.0
targos commentedon Jul 12, 2018
Is this still an issue? If yes, can we do something about it on the Node or libuv side?
apapirovski commentedon Nov 2, 2018
Doesn't seem like anyone knows what to do here so I'm going to close this out. It's not even clear if this is a Node.js issue. Please do feel free to reopen if you feel that I've made a mistake — just trying to keep the issue tracker a bit tidier.