0
votes

I'm new in using Angular and I encounter this problem when I tried install the angularx-social-login package on a project where I'm working on.

I got the errors bellow while trying to install npm install --save angularx-social-login.

Follows the errors:

C:\Users\DELL\Desktop\FrontEnd>npm install --save angularx-social-login npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself. npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/common@^6.1.0 but none is installed. You must install peer dependencies yourself. npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/core@^6.1.0 but none is installed. You must install peer dependencies yourself. npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/forms@^6.1.0 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/common@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/compiler@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/core@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/forms@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/http@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/platform-browser@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/platform-browser-dynamic@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN @ng-forms/[email protected] requires a peer of @angular/router@^6.0.7 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/common@^2.4.9 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/core@^2.4.9 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/http@^2.4.9 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of rxjs@^5.0.0-rc.2 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of rxjs@^5.1.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/common@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of typescript@^2.9.2 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of rxjs@^6.2.2 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/core@^7.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\DELL\Desktop\FrontEnd\node_modules.staging\fsevents-300da7c0\node_modules\abbrev' -> 'C:\Users\DELL\Desktop\FrontEnd\node_modules.staging\abbrev-edca6c5f'

npm ERR! code E404 npm ERR! 404 Not Found: [email protected]

npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\DELL\AppData\Roaming\npm-cache_logs\2018-11-28T21_08_59_644Z-debug.log

1
Don't post text as an image, post it as text.Uwe Keim

1 Answers

1
votes

flatmap-stream is a malicious package (the full story here) and has been removed from npm (hence the 404). You should see what package depends on flatmap-streamand lock to a version that fixes that dependency (most have released a fix by now).

One can check what package uses flatmap using npm ls flatmap-stream

It's very often event-stream (which is now maintained by the npm team themselves) that fixes it in version 3.3.4.