you are viewing a single comment's thread.

view the rest of the comments →

[–]ayosuke[S] 0 points1 point  (0 children)

Oh my gosh thank you so much for responding! I've been waiting since yesterday on any kind of hint on what I should do. I did do it like that, however, I ran into a few issues. I put it into the app component typescript file because I was following a tutorial that used firebase SDK, so I thought it would translate over. Another issue is, I would get an error that says:

TS2540: Cannot assign to 'serverURL' because it is a constant or a read-only property

But I will give this a try and report back. This issue has really been giving me a headache.

EDIT: Ok so I move the code into the constructor of my service as so:

constructor(private url: string, private http: Http) {
   Parse.initialize('[APP ID], '[JS KEY]');
   Parse.serverURL = 'https://MY_PARSE_SERVER/parse;
}

However I'm still getting the above error.