Closed mattiLeBlanc closed 6 years ago
Solved: install eventsource polyfill: https://github.com/Yaffle/EventSource
How did this exactly solved your issue @mattiLeBlanc?
I installed the event-source-polyfill
package but still getting the http
and https
errors like above.
I'm using Angular 7 btw.
Any thoughts?
For all the lost souls out there... Don't be discouraged! There is a fix! :rocket:
package.json
"browser": {
"http": false,
"https":false,
"net": false,
"path": false,
"stream": false,
"tls": false,
"fs": false
},
Build:
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
ℹ 「wdm」: Compiled successfully.
@steve-todorov Huge thanks from the future!
Hi,
I am running an Angular 5 with launch darkly feature flagging service which requires us to add the eventsource polyfill. I am trying to upgrade to Angular 6 and I am running into this error on event source:
I am not really sure what to do with this one, is it happening because I upgrade my typescript?
My package file