Replies: 1 comment 3 replies
-
It sounds like your assumptions are correct. Assuming you are using something like Are you able to throw a catch/any error handling around the database connection that is having issues? That may help to narrow it down. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
A colleague is facing an issue when building ("npm run build") the application on which we're both working.
The failure (see below) is produced by a mongodb client error (that we probably should handle anyway) and I would like to know if internet connection can be a factor in the success and/or failure of the build process.
It is my main hypothesis, because ...
... there is no deployment problem (vercel) and I can build the exact same code (including the required env variables to fetch the data) without any problem.
... yesterday she had a strong internet connection and everything went fine. Today, she has slow 3G at best. Slow but working: 'npm run dev' gets her all the data, she can push the code, etc.
The error:
To Reproduce
I can't reproduce on my computer
Expected behavior
npm run build should work the same with different internet connections
System information
Additional context
The data is fetched from a heroku server
Geo this one may not help ...
Works at :
Paris, France (good connection speed)
Latitude : 48.866667
Longitude : 2.333333
Does not work at :
Ile de ré, France (an isle with pretty bad internet)
Latitude : 46.191111
Longitude : -1.394463
Beta Was this translation helpful? Give feedback.
All reactions