felipemanga/ProjectABE

TyperError / Cors request error

spivakdm opened this issue · 2 comments

Once in a while web app would stop building new code. Tried different apps (browser, windows, linux versions), different browsers (chrome / firefox), error persists.

Error TypeError: Failed to fetch and in the console pops up in the console of the emulator and there is also CORS browser policy error in the browser console.

felipemanga.github.io/:1 Access to fetch at 'https://projectabe.herokuapp.com/build' from origin 'https://felipemanga.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
projectabe.herokuapp.com/build:1 Failed to load resource: net::ERR_FAILED

Screenshots of the error
image
image

Any ideas how that can be fixed?

I get this exact same error when building even a simple "hello world" example. Did your Heroku dyno fall asleep or get deleted?

The Heroku dyno got deleted, it was on a free plan and those don't exist anymore. Getting things up-to-date and running again is going to take some time (that I don't have much of, unfortunately) and effort, so it'll take a while.