vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.

Home Page:https://subscription-payments.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting ECONNREFUSED when starting `npm run dev`

shredEngineer opened this issue · comments

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
}
…

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