carvajalconsultants / apollo-link-offline

An Apollo Link to queue mutations when offline or network errors exist.
MIT License
71 stars 15 forks source link

throwing an error on edge #3

Closed Hasan-git closed 5 years ago

Hasan-git commented 5 years ago

first of all thank you for the great effort ! every thing is fine on chrome, while it's throwing an error on edge

image

pointing -> image

miguelocarvajal commented 5 years ago

Thanks!

Glad to know it's working on Chrome, we've not used this from a browser yet. What is your use case (out of curiosity)?

This seems to be an issue with the package not being transpiled, check your Babel (if that's what you're using) settings to make sure that the client receives a supported version of JavaScript.

Hasan-git commented 5 years ago

Thanks for support !

A web app using angular 7. the app wasn't able to launch on edge and throwing this error. Actually, I found that this error was thrown on development mode build while it's ok on production mode and this seems ok for me right now.

miguelocarvajal commented 5 years ago

Great to know it's working for you!

This definitely sounds, like an issue with your build setup since it works in production mode. I am not familiar with Angular so I cannot be of much help here though.

I am closing this ticket for now, should you need anything else feel free to open another.