question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Network Error in edge but perfect in chrome and the project after built is working in edge

See original GitHub issue

Hi, I’m wondering why get the error in edge when using developing mode but perfect in chrome, and the project after built (npm run build) is working in edge (so weird ).

Here is the code: 

axios.get(api_url, {....})
.then(()=>{
     // code...
}).catch((error)=>{
     // error.response war undefined
     console.log(error, error.response)
})

Here is the error:
Error: Network Error
at createError 
at handleError 
  • axios version: ^0.16.2
  • vue: ^2.3.3
  • vue-router: ^2.3.1
  • vuex: ^2.3.1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
darthmooguycommented, Apr 3, 2018

I’ve got the same problem too! Using create-react-app with the webpack-dev server, the requests always fails with a “Network Error” in Edge, but not in other browsers. When I run the compiled “dist” version, eveything is fine.

1reaction
nadilascommented, Nov 11, 2019

Same here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Microsoft Edge Problems, and How to Fix Them
Try clearing out Edge data by clicking on “…” and choosing Settings. After that, select Privacy, search, and services from the side menu,...
Read more >
Web site not working in Edge but works in Chrome, Opera ...
We have a SSRS ReportManager/ReportServer web sites that are working fine via any other browser than Edge or IE. The error we are...
Read more >
Chrome Extension crashes the Microsoft Edge browser while ...
We have a chrome extension that runs on Chromium edge and Chrome browser. Before today it was working all fine but today it...
Read more >
ERR_CONNECTION_RESET: How to fix the Chrome ... - IONOS
Since it's possible to clear the browser cache in a few steps, you can easily check whether this is causing the problem. To...
Read more >
Microsoft Edge Insider
Dev is a good choice for those wanting the latest updates within a relatively stable build. If you want to see what we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found