You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello All,
I am trying to call this in my angular 2 component
like:
require('../../../style/vendors/EventSource.js');
let es = new EventSource(URL);
But, i am getting the exception that event source :ErrorUncaught (in promise): TypeError: EventSource is not a constructor
TypeError: EventSource is not a constructor
Please suggest me i am doing this in correctly or not?
The text was updated successfully, but these errors were encountered:
Hello All,
I am trying to call this in my angular 2 component
like:
require('../../../style/vendors/EventSource.js');
But, i am getting the exception that event source :ErrorUncaught (in promise): TypeError: EventSource is not a constructor
TypeError: EventSource is not a constructor
Please suggest me i am doing this in correctly or not?
The text was updated successfully, but these errors were encountered: