mantelinga r
mantelinga r

Reputation: 440

Missing dependency error in an angular application

I am trying to create a social login app using angular. When I try to run my angular application I getting the following error and also I am not able to access the login page.

ERROR in The target entry-point

"angular-6-social-login" has missing dependencies: - @angular/core - @angular/common - rxjs

Upvotes: 1

Views: 5949

Answers (2)

Delwyn Pinto
Delwyn Pinto

Reputation: 612

The error message has your solution.

angular-6-social-login requires libraries which your project does not have. Going through its repo, you can see the dependencies it declares here.

Both @angular/core and @angular/common should not need to be added explicitly though. Which makes me think the files have either been deleted, or the versions installed are different than the ones needed.

Upvotes: 0

Suren Srapyan
Suren Srapyan

Reputation: 68665

Try to remove package-lock and node_modules. After reinstall them

Upvotes: 2

Related Questions