apigeetool-node icon indicating copy to clipboard operation
apigeetool-node copied to clipboard

[email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

Open pmanthen opened this issue 5 years ago • 22 comments

[email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

Is there a plan to move to use a different package?

pmanthen avatar Feb 26 '20 19:02 pmanthen

I have the same error when a try to create a ionic project

kevinprogramador avatar Mar 22 '20 17:03 kevinprogramador

Same error when installing windows build tools - which aren't supported by Python 3 till now

GeorgesBat avatar Mar 29 '20 22:03 GeorgesBat

same issue here npm install --global [email protected] npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

suzyq275 avatar Apr 12 '20 21:04 suzyq275

We will address this during the next release. But is this a deprecation, as in just a warning, or are things not working?

whitlockjc avatar Apr 13 '20 17:04 whitlockjc

i have the same issue when i want to create an angular workspace . is there any solution for this issue ?

Morojs avatar May 08 '20 05:05 Morojs

It's a warning, it doesn't stop you from installing/updating apigeetool so as mentioned above, we'll address this in the next release.

whitlockjc avatar May 08 '20 17:05 whitlockjc

\ Installing packages...npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/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?

surajacharya62 avatar May 28 '20 05:05 surajacharya62

C:\Users\013665>npm install -g @angular/cli npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code EEXIST npm ERR! path C:\Users\013665\AppData\Roaming\npm\node_modules@angular\cli\bin\ng npm ERR! dest C:\Users\013665\AppData\Roaming\npm\ng.cmd npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\013665\AppData\Roaming\npm\node_modules@angular\cli\bin\ng' -> 'C:\Users\013665\AppData\Roaming\npm\ng.cmd' npm ERR! File exists: C:\Users\013665\AppData\Roaming\npm\ng.cmd npm ERR! Remove the existing file and try again, or run npm npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\013665\AppData\Roaming\npm-cache_logs\2020-06-01T11_23_40_381Z-debug.log

C:\Users\013665>

Please help this...

ArulselvanJaya avatar Jun 01 '20 11:06 ArulselvanJaya

Installing packages...npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code EINTEGRITY npm ERR! sha512-kjFgaTB2ckr9lgmkS1dOGRT7kmzpQueydxsxXSHWgICNVE6F/u1PHyeSOyJRpxW0GnrkLq3QM2EUFnQGGga5bg== integrity checksum failed when using sha512: wanted sha512-kjFgaTB2ckr9lgmkS1dOGRT7kmzpQueydxsxXSHWgICNVE6F/u1PHyeSOyJRpxW0GnrkLq3QM2EUFnQGGga5bg== but got sha512-X9OOVz2jaDw33o3jYVH05Gf5Gv6Iho1r/XBu1Ce2/yRahvEbP8olcsNkO2OKhN6VH19EZHts3ipwQYdQThqwIQ==. (163103 bytes)

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Solomon Azowenu\AppData\Roaming\npm-cache_logs\2020-06-04T10_43_38_551Z-debug.log × Package install failed, see above. The Schematic workflow failed. See above.

Please how do i resolve it....Or should i continue with the project like that

solomonbestz avatar Jun 04 '20 10:06 solomonbestz

I understand that this is confusing but I just tested this with every version of Node.js and this is just a WARNING and as I mentioned above, not only should apigeetool work just fine but we will be remedying this during the next release. If you find that this is not the case, and apigeetool DOES NOT work as expected as a result, please let me know and I will escalate.

whitlockjc avatar Jun 08 '20 23:06 whitlockjc

I understand that this is confusing but I just tested this with every version of Node.js and this is just a WARNING and as I mentioned above, not only should apigeetool work just fine but we will be remedying this during the next release. If you find that this is not the case, and apigeetool DOES NOT work as expected as a result, please let me know and I will escalate.

How is just a warning when its restricting write access from my node modules and blaming it on my OS. It's saying I don't have permission but I'm the admin and hold the keys to the kingdom see below:

Rachels-iMac:~ Rachel$ npm install -g firebase-tools npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/local/lib/node_modules npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/Rachel/.npm/_logs/2020-06-10T19_11_59_798Z-debug.log

rjohns2991 avatar Jun 10 '20 19:06 rjohns2991

The deprecation of request IS a warning (the output clearly states this), but the EACCESS is unrelated to this issue or the deprecation of the aforementioned module. There is no way that the deprecation of request would result in an EACCES error. And in all honesty, I'm not sure why you're reporting this here as you're attempting to install firebase-tools which has no relation to this project.

whitlockjc avatar Jun 10 '20 19:06 whitlockjc

I ran npm install on an angular project i cloned, and now am seeing this.

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]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '...ntf-js":"^1.0.3"},"pe'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user\AppData\Roaming\npm-cache_logs\2020-06-14T23_13_44_006Z-debug.log

please how do i fix it. I cant make headway

ucheuzor avatar Jun 14 '20 23:06 ucheuzor

The dependencies are not installed when i run ng new testproject. it returns the following error .npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm ERR! Unexpected end of JSON input while parsing near '.../-/common-5.0.0.tgz"}'

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

DevKenny-git avatar Jul 17 '20 09:07 DevKenny-git

Somebody fix this issue?

carlos-ssh avatar Jul 18 '20 03:07 carlos-ssh

I am having the same issues while trying to create new Reacr Native project, I am unable to deploy the projects.

gaurav-kalita avatar Jul 18 '20 19:07 gaurav-kalita

@whitlockjc I am also facing the same issue. Is this issue addressed in your release

fullstackgun avatar Jul 21 '20 22:07 fullstackgun

I think you're crossing the streams here, unless you are installing/using apigeetool, this isn't the proper place to report this. This issue is for the need to update the request dependency for our project, and it has nothing to do with other projects using request. It seems the last few comments have been related to "React Native", ng new testproject, ... and these have nothing to do with apigeetool.

whitlockjc avatar Jul 22 '20 16:07 whitlockjc

npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '...0"},"devDependencies"'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Esther1\AppData\Roaming\npm-cache_logs\2020-07-30T15_34_54_086Z-debug.log

Please How Do I resolve this?

JocheAttah avatar Jul 30 '20 15:07 JocheAttah

same issue apprearing for me. Guide me in solving this issue.

swapnil106111 avatar Aug 04 '20 10:08 swapnil106111

I really wish you would read the comments before posting problems here, as the problems you're mentioning ARE NOT related to this project. This project has nothing to do with Angular or React, we just happen to use the same deprecated dependency.

whitlockjc avatar Aug 04 '20 21:08 whitlockjc

same issue

CNS1mple avatar Aug 24 '20 15:08 CNS1mple