Skip to content
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

EdgeDB compatibility #3009

Closed
colinhacks opened this issue May 23, 2023 · 1 comment
Closed

EdgeDB compatibility #3009

colinhacks opened this issue May 23, 2023 · 1 comment
Labels
bug Something isn't working node.js Compatibility with Node.js APIs

Comments

@colinhacks
Copy link
Contributor

colinhacks commented May 23, 2023

What version of Bun is running?

0.6.3

What platform is your computer?

No response

What steps can reproduce the bug?

edgedb 2.zip

$ edgedb project init
$ bun install
$ bun run index.ts

What is the expected behavior?

Print uuid:

$ npx tsx index.ts
44e728aa-f904-11ed-afc5-bb333e2ee45d

What do you see instead?

$ bun run index.ts
Unexpected connection error: 386 |         //Client always request Cert
387 |         this._requestCert = true;
388 |         this._rejectUnauthorized = rejectUnauthorized;
389 |         if (tls) {
390 | 
391 |           tls.rejectUnauthorized = rejectUnauthorized;
             ^
TypeError: Attempted to assign to readonly property.
      at connect (node:net:391:10)
      at /Users/colinmcd94/Downloads/edgedb/node_modules/edgedb/dist/rawConn.js:217:21
      at connectWithTimeout (/Users/colinmcd94/Downloads/edgedb/node_modules/edgedb/dist/rawConn.js:216:36)
      at /Users/colinmcd94/Downloads/edgedb/node_modules/edgedb/dist/retry.js:49:25
      at retryingConnect (/Users/colinmcd94/Downloads/edgedb/node_modules/edgedb/dist/retry.js:43:31)
      at /Users/colinmcd94/Downloads/edgedb/node_modules/edgedb/dist/baseClient.js:344:27

386 |         //Client always request Cert
387 |         this._requestCert = true;
388 |         this._rejectUnauthorized = rejectUnauthorized;
389 |         if (tls) {
390 | 
391 |           tls.rejectUnauthorized = rejectUnauthorized;
             ^
@cirospaciari
Copy link
Collaborator

completed by #3457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node.js Compatibility with Node.js APIs
Projects
None yet
Development

No branches or pull requests

3 participants