Replies: 7 comments 4 replies
-
Hello.
You need to provide the correct URL to your application. (look for hardcoded 127.0.0.1 or localhost in your code) |
Beta Was this translation helpful? Give feedback.
-
can someone find a solution for this @melono6 |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is helpful but I did find that the environment variables didn’t seem to be working. I did something you aren’t supposed to do but it was just a test so no big deal. Anyway, I didn’t exclude my environment variables in gitignore and it seemed to work as the site was reading them from the actual application and not from Vercel environment variables.
… On 28 Apr 2022, at 17:08, Dimer Bwimba ***@***.***> wrote:
can someone find a solution for this @melono6 <https://github.com/melono6>
—
Reply to this email directly, view it on GitHub <#32420 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AG7HWLL6JRFI7B4UYUD53GLVHKSXNANCNFSM5J4ESWEQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Ah! What If I try: const response = await fetch('https://github.com'); Getting the same error as: cause: Error: connect ECONNREFUSED 127.0.0.1:80
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 80
} |
Beta Was this translation helpful? Give feedback.
-
replace: |
Beta Was this translation helpful? Give feedback.
-
I had the same problem, I went back and looked at the connection status of the database, I reconnected and deployed normally. |
Beta Was this translation helpful? Give feedback.
-
You can import .env from local to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The last time I deployed to Vercel was a month or 2 ago and I had no problem. I didn't actually change any code now, I just updated my npm packages and tried to deploy. I get this error:
Running npm run build on my local machine works fine. It is just when deploying to Vercel I get the error but not sure why. Does anyone have any idea?
Here is my config file:
It seems like issue is somewhere in my dynamic paths...
Beta Was this translation helpful? Give feedback.
All reactions