-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
"Failed to fetch" error when trying to fetch the manifest of an offline remote. #2362
Comments
@2heal1 have idea here or is there hook for failed manifest load? |
Facing the same issue. Can't use manifests because of this :( |
Same issue. Following. |
Maybe is related with #2672 |
Stale issue message |
@ScriptedAlchemy should this issue really be closed? |
Hey, this is still a blocking issue for us. Any updates? |
Any update on this and how we can handle such issue? |
I am facing issue: |
@harshalhirve any updates? i have same issue |
In case anyone stumbles across this thread. Just check CORS. With Webpack Dev Server you only need to add headers. Example: devServer: {
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
"Access-Control-Allow-Headers": "X-Requested-With, content-type, Authorization"
}
} |
Describe the bug
When trying to fetch the manifest file of a remote with the following configuration:
If the remote is offline, a fetch error is thrown:
Even if a
errorLoadRemote
hook is configured to catch the error, it still fails:If the error is catched when using the
loadRemote
function, it also fails:BUT, if I update the remote configuration to fetch a
remoteEntry.js
file instead of a manifest file, everything works as expected, the error is catched by either theerrorLoadRemote
hook or thecatch
handler:Reproduction
https://github.com/patricklafrance/mf-enhanced-manifest-bug
Used Package Manager
pnpm
System Info
Validations
The text was updated successfully, but these errors were encountered: