apigee / apigeetool-node

"apigeetool" implementation in Node.js for managing Apigee Edge apps and proxies
MIT License
89 stars 90 forks source link

\ Installing packages...npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 #190

Closed suriya-rgb closed 4 years ago

suriya-rgb commented 4 years ago

\ Installing packages...npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: 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 https://github.com/apigee/apigeetool-node/issues/184#issuecomment-635110840

prajapatarun commented 4 years ago

same issue

HK-Dilip-kumar commented 4 years ago

same issue

rockyyap commented 4 years ago

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN @zowe/db2-for-zowe-cli@4.0.6 requires a peer of @zowe/imperative@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN @zowe/db2-for-zowe-cli@4.0.6 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 commented 4 years ago

Duplicate of #184

taherkhans commented 4 years ago

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\\AppData\Roaming\npm\ you can remove the folder this way rmdir C:\Users\\AppData\Roaming\npm\ /s and C:\Users\\AppData\Roaming\npm-cache. you can remove the folder this way rmdir C:\Users\\AppData\Roaming\npm-cache /s

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

rahulraj871 commented 4 years ago

this worked thanks !!

Jigar-Kakadiya commented 4 years ago

it's working. thanks

ghost commented 4 years ago

its working ....!!!

KhadijaWilliams commented 4 years ago

Does this work on a mac as well?

taherkhans commented 4 years ago

Does this work on a mac as well?

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

oviii123 commented 4 years ago

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