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

\ Installing packages...npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 #190

Closed
suriya-rgb opened this issue May 28, 2020 · 11 comments

Comments

@suriya-rgb
Copy link

\ Installing packages...npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...e-map":"^0.5.7","spri'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nishant\AppData\Roaming\npm-cache_logs\2020-05-28T05_24_12_995Z-debug.log
× Package install failed, see above.
The Schematic workflow failed. See above.

I have been getting this error while creating new app of angular. How to resolve this issues?

Originally posted by @surajacharya62 in #184 (comment)

@prajapatarun
Copy link

same issue

1 similar comment
@HK-Dilip-kumar
Copy link

same issue

@rockyyap
Copy link

rockyyap commented Jun 8, 2020

npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN @zowe/[email protected] requires a peer of @zowe/imperative@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @zowe/[email protected] requires a peer of @zowe/cli@^6.0.0 but none is installed. You must install peer dependencies yourself.

I got this message too. Maybe need to install separately.

@whitlockjc
Copy link
Member

Duplicate of #184

@whitlockjc whitlockjc marked this as a duplicate of #184 Jun 8, 2020
@taherkhans
Copy link

Here is the solution:

Open your command prompt and uninstall angular/cli by using
"npm uninstall -g angular-cli" command.

Remove node_modules directory and then clear the cache by using
"npm cache clear --force" command.

Remove
C:\Users<username>\AppData\Roaming\npm\
you can remove the folder this way
rmdir C:\Users<username>\AppData\Roaming\npm\ /s
and
C:\Users<username>\AppData\Roaming\npm-cache.
you can remove the folder this way
rmdir C:\Users<username>\AppData\Roaming\npm-cache /s

Now try to install the angular/cli@latest by using npm install -g @angular/cli@latest command.

@rahulraj871
Copy link

this worked thanks !!

@Jigar-Kakadiya
Copy link

it's working.
thanks

@ghost
Copy link

ghost commented Aug 17, 2020

its working ....!!!

@KhadijaWilliams
Copy link

Does this work on a mac as well?

@taherkhans
Copy link

Does this work on a mac as well?

if you are working on mac , please try this and let every one know, thanks

@oviii123
Copy link

Thankyou very much man....it s working...

@apigee apigee locked as off-topic and limited conversation to collaborators Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants