Skip to content

[BUG] HttpErrorGeneral: 422 Unprocessable Entity #7982

Description

@FirstTimeEZ

Is there an existing issue for this?

This is an old bug that was already fixed

This issue exists in the latest npm version

npm@10.9.0

Current Behavior

I was deprecating quite a few versions of several different packages and got this error

it appears like the action completed successfully though.

maybe its cloudflare?

thought I would make this because it appears to be an old bug that was already fixed.

Expected Behavior

No error output

Steps To Reproduce

J@BUD MINGW64 ~/Desktop
$ npm deprecate simple-csr-generator@3.0.1 "Please update to a more recent version to benefit from bug fixes and improvements, You will not get support for this version of the package"
(node:6948) ExperimentalWarning: CommonJS module C:\Program Files\nodejs\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Program Files\nodejs\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
npm error code E422
npm error 422 Unprocessable Entity - PUT https://registry.npmjs.org/simple-csr-generator - Unprocessable Entity
npm error A complete log of this run can be found in: C:\Users\J\AppData\Local\npm-cache\_logs\2024-12-15T02_58_50_705Z-debug-0.log

Environment

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@10.9.0
2 info using node@v23.3.0
3 silly config load:file:C:\Program Files\nodejs\node_modules\npm\npmrc
4 silly config load:file:C:\Users\J\.npmrc
5 silly config load:file:C:\Users\J\AppData\Roaming\npm\etc\npmrc
6 verbose title npm deprecate simple-csr-generator@3.0.1 Please update to a more recent version to benefit from bug fixes and improvements, You will not get support for this version of the package
7 verbose argv "deprecate" "simple-csr-generator@3.0.1" "Please update to a more recent version to benefit from bug fixes and improvements, You will not get support for this version of the package"
8 verbose logfile logs-max:10 dir:C:\Users\J\AppData\Local\npm-cache\_logs\2024-12-15T02_58_50_705Z-
9 verbose logfile C:\Users\J\AppData\Local\npm-cache\_logs\2024-12-15T02_58_50_705Z-debug-0.log
10 silly logfile start cleaning logs, removing 1 files
11 silly logfile done cleaning log files
12 http fetch GET 200 https://registry.npmjs.org/simple-csr-generator?write=true 343ms (cache updated)
13 http fetch PUT 422 https://registry.npmjs.org/simple-csr-generator 674ms
14 verbose stack HttpErrorGeneral: 422 Unprocessable Entity - PUT https://registry.npmjs.org/simple-csr-generator - Unprocessable Entity
14 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-fetch\lib\check-response.js:95:15
14 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
14 verbose stack     at async otplease (C:\Program Files\nodejs\node_modules\npm\lib\utils\auth.js:8:12)
14 verbose stack     at async Npm.exec (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:207:9)
14 verbose stack     at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli\entry.js:74:5)
15 verbose statusCode 422
16 verbose pkgid simple-csr-generator@3.0.1
17 error code E422
18 error 422 Unprocessable Entity - PUT https://registry.npmjs.org/simple-csr-generator - Unprocessable Entity
19 verbose cwd C:\Users\J\Desktop
20 verbose os Windows_NT 10.0.22631
21 verbose node v23.3.0
22 verbose npm  v10.9.0
23 verbose exit 1
24 verbose code 1
25 error A complete log of this run can be found in: C:\Users\J\AppData\Local\npm-cache\_logs\2024-12-15T02_58_50_705Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions