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

Issue in globalSetup after upgrading to Node 18 #192

Open
mahdi opened this issue Jan 16, 2023 · 2 comments
Open

Issue in globalSetup after upgrading to Node 18 #192

mahdi opened this issue Jan 16, 2023 · 2 comments

Comments

@mahdi
Copy link

mahdi commented Jan 16, 2023

After upgrading to Node 18, I'm unable to run tests with Jest and after debugging it I noticed that it's throwing the following error while trying to run this: [dynamoDB.listTables({})]

Error: connect ECONNREFUSED ::1:8052
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 8052,
  '$metadata': { attempts: 1, totalRetryDelay: 0 }
}

It seems that this happens on my local machine only as when CircleCI tried to run the tests everything worked fine.

@vladholubiev
Copy link
Member

What OS are you running locally? Could it be b/c of missing Java that is required to run DDB local?

@paul-uz
Copy link

paul-uz commented Mar 3, 2023

Confirmed that Node 18 fails. See #194

Downgrading to Node 16 and it runs fine. Java is installed ofc, openjdk version "11.0.16" 2022-07-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants