It appears that this version, which is deprecated is being pulled in by @angular/cli (via universal-analytics). I assume a bump to the latter's version will be enough to fix this?
You can see this warning when doing a fresh install of [email protected]:
warning @angular/cli > universal-analytics > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
The paackage request is now fully deprecated. So that will probably take a while to change.
Yes, I think the solution would be for universal-analytics to release a new version that is not reliant upon request.
problem ! [email protected]..
what are the alternative of it ?
Hi, any update on this? thanks!
@BruneXX
Me too, I'm waiting for a fix or something
I think we'll need to check here: https://github.com/request/request/issues/3142
I'm also getting this issue when installing angular CLI
npm install -g @angular/cli
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
I'm also waiting for this solution===>
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
C:\Users\hp\AppData\Roaming\npm\ng -> C:\Users\hp\AppData\Roaming\npmnode_modules@angular\cli\bin\ng
@angular/[email protected] postinstall C:\Users\hp\AppData\Roaming\npmnode_modules@angular\cli
node ./bin/postinstall/script.js
? Would you like to share anonymous usage data with the Angular Team at Google under
Google’s Privacy Policy at https://policies.google.com/privacy? For more details and
how to change this setting, see http://angular.io/analytics. No
i have the same probleme,has any one found a solution
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
C:\Users\pc pro\AppData\Roaming\npm\ng -> C:\Users\pc pro\AppData\Roaming\npmnode_modules@angular\cli\bin\ng
This is currently blocked as it requires an upstream change.
https://github.com/peaksandpies/universal-analytics/issues/143
Any updates about this issue?
Hi,for me i could create a angular project so i ingore this warn and every thing work correctly. تم الإرسال من البريد لـ Windows 10 من: Fernando Toledo Ramirezإرسال: 22 avril 2020 21:02إلى: angular/angular-cliنسخة: Serine bkb; Commentالموضوع: Re: [angular/angular-cli] deprecated dependency: [email protected] (#16952) Any updates about this issue?—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.Â
Looks like their only usage is https://github.com/peaksandpies/universal-analytics/blob/master/lib/index.js#L444
I submitted a PR to peaksandpies/universal-analytics but the last commit to that project was 1.5 year ago so I doubt it will land anytime soon. Also, while upgrading said project, I got blocked on one of the unit tests (see PR).
Closed via #18113
Reopening since this was reverted in https://github.com/angular/angular-cli/pull/18173
Most helpful comment
This is currently blocked as it requires an upstream change.
https://github.com/peaksandpies/universal-analytics/issues/143