-
-
Notifications
You must be signed in to change notification settings - Fork 797
Closed
Description
Not sure if this a bug or not as can't reproduce but trying to understand why it would happen as it's an error that seems to crop up reasonably regularly.
The error I get is
Uncaught (in promise): TypeError: t.init is not a function
TypeError: t.init is not a function
My angular service is as below
export class ApiService {
private feathers: any;
constructor(
private http: HttpClient,
) {
this.feathers = feathers(); // Error occurs here
const restClient: Transport = rest(environment.host);
this.feathers
.configure(
restClient.angularHttpClient(this.http, { HttpHeaders: HttpHeaders })
));
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels