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

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

Open
pmanthen opened this issue Feb 26, 2020 · 22 comments

Comments

@pmanthen
Copy link

[email protected]: request has been deprecated, see request/request#3142

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

@kevinprogramador
Copy link

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

@GeorgesBat
Copy link

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

@suzyq275
Copy link

same issue here
npm install --global [email protected]
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142

@whitlockjc
Copy link
Member

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

@Morojs
Copy link

Morojs commented May 8, 2020

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

@whitlockjc
Copy link
Member

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.

@surajacharya62
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?

@ArulselvanJaya
Copy link

C:\Users\013665>npm install -g @angular/cli
npm WARN deprecated [email protected]: request has been deprecated, see request/request#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...

@solomonbestz
Copy link

Installing packages...npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see palantir/tslint#4534 for more information.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#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

@whitlockjc
Copy link
Member

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.

@rachel-johns
Copy link

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 request/request#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

@whitlockjc
Copy link
Member

whitlockjc commented Jun 10, 2020

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.

@ucheuzor
Copy link

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 request/request#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

@DevKenny-git
Copy link

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 palantir/tslint#4534 for more information.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#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.

@carlos-ssh
Copy link

Somebody fix this issue?

@gaurav-kalita
Copy link

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

@fullstackgun
Copy link

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

@whitlockjc
Copy link
Member

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.

@JocheAttah
Copy link

npm WARN deprecated [email protected]: request has been deprecated, see request/request#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?

@swapnil106111
Copy link

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

@whitlockjc
Copy link
Member

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.

@CNS1mple
Copy link

same issue

@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