Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplied parameters do not match any signature of call target #2

Open
itssajan opened this issue Aug 16, 2017 · 1 comment
Open

Supplied parameters do not match any signature of call target #2

itssajan opened this issue Aug 16, 2017 · 1 comment

Comments

@itssajan
Copy link

First of all Great repo with loopback and angular. I started implementing the ways that you have mentioned, but ran into the following error while making an auth.service.

In auth.service.ts file the error is saying 'Supplied parameters do not match any signature of call target'.
It is referring to the constructor, where you call the super.

I am new to angular 2 and am stuck with a deadline closing by.

What should I add to the super.
When I looked at the LoopBackAuth class, I have seen InternalStorage injected to the constructor. Could this be the issue ?

@mashhoodr
Copy link
Member

@itssajan looks like the Angular2 SDK has been improved, this code is a bit old now so you will need to experiment to see what works now, may be adding the super will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants