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
The code should complain about wrong authentication or correctly process the request
What do you see instead?
15:08:38.596 Ably: Auth.requestToken(): token request API call returned error; err = RequestError: Attempted to assign to readonly property.
ABLY FAILED
1122 | var Utils = tslib_1.__importStar(__webpack_require__(2));
1123 | function toString(err) {
1124 | var result = '[' + err.constructor.name;
1125 | if (err.message)
1126 | result += ': ' + err.message;
1127 | if (err.statusCode)
^
error: RequestError: Attempted to assign to readonly property.
What version of Bun is running?
1.0.24+6fa35839c
What platform is your computer?
Darwin 23.2.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
The code should complain about wrong authentication or correctly process the request
What do you see instead?
Additional information
I set up a reproduction repo here: https://github.com/titivermeesch/bun-ably-error-reproduction
The script
npm run run-bun
fails, but when usingnpm run run-node
it works as expected. The first one uses bun and the second one uses Node v20.11.0)The text was updated successfully, but these errors were encountered: