question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unpublish fails with 422 error.

See original GitHub issue

When unpublishing scoped package it fails with 422 error.

npm ERR! code E422
npm ERR! 422 Unprocessable Entity - DELETE http://npm.example.com/@scope%2ffoobar/-rev/3-9c41865ae8453952 - TypeError: Cannot read property 'indexUpdates' of undefined

Probably the root cause is somewhere here https://github.com/verdaccio/verdaccio-google-cloud/blob/d0396d663504d18fd71879303bcf56bc4b438fc0/src/data-storage.ts#L108

Verdaccio version 4.0.4

plugin: google-cloud

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
SkeLLLacommented, Jun 22, 2019

I’ll try to figure out what’s going on there. But it should be easy. Just run verdaccio locally, publish a package then unpublish it and you should get an error.

0reactions
stale[bot]commented, Jul 21, 2021

Hi pal 👋🏼! This issue has gone quiet 😶.

We get a lot of issues, so we currently close issues after 180 days of inactivity. It’s been at least 90c days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add/suggest the label “discuss” to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out https://github.com/verdaccio/contributing for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Verdaccio community! 💘

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Unpublish fails with 422 error. - - Bountysource
When unpublishing scoped package it fails with 422 error. npm ERR! code E422 npm ERR! 422 Unprocessable Entity - DELETE ...
Read more >
How To Fix the HTTP 422 Error - Kinsta
Error 422 is an HTTP code that tells you that the server can't process your request, although it understands it. The full name...
Read more >
Gitlab - npm registry - npm publish - 422 Unprocessable Entity
I am trying to publish a really simple example to our gitlab npm registry but getting an error. I have updated ...
Read more >
422 error when using npm publish - GitLab Forum
1 verbose cli ] · 2 info using npm@6.14.10 · 3 info using node@v14.15.4 · 4 verbose npm-session 652877294392b1a0 · 5 verbose publish...
Read more >
Retrun Code 422 Unprocessable Entity - Acumatica Community
Root cause of 422 Unprocessable Entity is nothing but either URL should be wrong OR JSON request wrong. As you mentioned above, URL...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found