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

Getting ECONNREFUSED when starting npm run dev #289

Closed
shredEngineer opened this issue Jan 26, 2024 · 1 comment
Closed

Getting ECONNREFUSED when starting npm run dev #289

shredEngineer opened this issue Jan 26, 2024 · 1 comment

Comments

@shredEngineer
Copy link

shredEngineer commented Jan 26, 2024

Cloned everything, followed the README step-by-step successfully, and then running npm run dev gives me the following repeated errors instantly.
Nothing works, nothing shows in the browser.

(base) pw@metalbot:~/WebstormProjects/ebook-menu-saas$ npm run dev

> nextjs-subscription-payments@0.0.0 dev
> next dev

- ready started server on 0.0.0.0:3000, url: http://localhost:3000
- info Loaded env from /home/pw/WebstormProjects/ebook-menu-saas/.env.local
- warn You have enabled experimental feature (serverActions) in next.config.js.
- warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

- event compiled client and server successfully in 929 ms (306 modules)
- wait compiling...
- event compiled client and server successfully in 239 ms (306 modules)
- wait compiling /middleware (client and server)...
- event compiled successfully in 133 ms (194 modules)
Error: connect ECONNREFUSED 127.0.0.1:36777
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 36777
}
- wait compiling /_error (client and server)...
- event compiled client and server successfully in 87 ms (307 modules)
Error: connect ECONNREFUSED 127.0.0.1:36777
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 36777
}
Error: connect ECONNREFUSED 127.0.0.1:36777
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 36777
}
Error: connect ECONNREFUSED 127.0.0.1:36777
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 36777
}
…
@shredEngineer
Copy link
Author

Seems I was missing some .env.local variables… Sorry to bother. Closing now.

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

No branches or pull requests

1 participant