-
Notifications
You must be signed in to change notification settings - Fork 262
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
Debugger throws: process.send is not a function #606
Comments
Hi @MikkelSnitker, Thanks for reporting! Which configuration did you run? Could you please paste its here? |
I have this problem to since the installation of react-native-tcp and rn-nodeify. |
Hi @itoys I have the same problem like @jboulay and @MikkelSnitker |
Hi there, I am also getting the same issue. I have also installed react-native-tcp and rn-nodeify. I am not sure if it's got something to do with this. Just to give context; This occurs both when I run my project from the debug menu or when I manually run react-native run-android with a separate CLI. I am using a Mac, and I am debugging on a physical Android device. |
Hello, I've got the same issue. I'm using rn-nodeify. This occurs when I select the "Debug iOS" option on Code's debug launcher. Running the project from command line (react-native run-ios) works OK. launch.json: https://gist.github.com/edgebal/5a0c6364366daedbcbcc38b61798fee7 Debug output
Software versionsReact-Native VS Code extension version: 0.5.7 |
I've receiving this error when nem-sdk module is imported. In other case all is ok. Nem-sdk not have rn-nodeify dependency and not calling process.send method. |
Hi @MikkelSnitker @jboulay @RaphyLi @CasDigital @edgebal @olegdizus |
Added PR to react-native-tcp (PeelTechnologies/react-native-tcp#70) to fix this problem. |
Is there any movement on this? I see the PR is still open, has another fix come up? |
Hi guys. Looks like the cause of issue is the fact that |
Have you solved the problem? I also encountered the same problem. Is there any solution? |
when i try to debug my react-native app, vscode throws this error:
Exception has occurred: TypeError
TypeError: process.send is not a function
at postMessage (/Users/mikkel/MyApp/.vscode/.react/debuggerWorker.js:40:13)
at sendReply (/Users/mikkel/MyApp/.vscode/.react/debuggerWorker.js:113:7)
at executeApplicationScript (/Users/mikkel/MyApp/.vscode/.react/debuggerWorker.js:98:7)
at /Users/mikkel/MyApp/.vscode/.react/debuggerWorker.js:119:7
at process. (/Users/mikkel/MyApp/.vscode/.react/debuggerWorker.js:35:9)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)
at emit (internal/child_process.js:774:12)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Software versions
The text was updated successfully, but these errors were encountered: