We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.42
Darwin 24.2.0 arm64 arm
When you make a file that uses process.send it crashes
process.send
setInterval( () => { process.send({message: 'test'}, (a) => { console.log('send handle', a) }, undefined, console.error); }, 4000 );
This runs just fine: pm2 start --name test --no-autorestart --no-daemon app.js -i 2 This crashes: pm2 start --interpreter /opt/homebrew/bin/bun --name test --no-autorestart --no-daemon tmo.js -i 2 crashes with strings, json, stringified json
pm2 start --name test --no-autorestart --no-daemon app.js -i 2
pm2 start --interpreter /opt/homebrew/bin/bun --name test --no-autorestart --no-daemon tmo.js -i 2
Send message
Error:
undefined:1 {"message":"test"} ^ SyntaxError: Unexpected token '', "{"message":"test"}" is not valid JSON
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.42
What platform is your computer?
Darwin 24.2.0 arm64 arm
What steps can reproduce the bug?
When you make a file that uses
process.send
it crashesThis runs just fine:
pm2 start --name test --no-autorestart --no-daemon app.js -i 2
This crashes:
pm2 start --interpreter /opt/homebrew/bin/bun --name test --no-autorestart --no-daemon tmo.js -i 2
crashes with strings, json, stringified json
What is the expected behavior?
Send message
What do you see instead?
Error:
Additional information
No response
The text was updated successfully, but these errors were encountered: