yarnpkg/yarn

Yarn publish reports success despite request failing

Open

#5,931 opened on Jun 5, 2018

View on GitHub
 (2 comments) (6 reactions) (1 assignee)JavaScript (41,514 stars) (2,731 forks)batch import
cat-bughelp wantedhigh-priority

Description

Do you want to request a feature or report a bug? bug

What is the current behavior? When running yarn publish, Yarn reports success Published. after having a 400 error code returned on the PUT request

If the current behavior is a bug, please provide the steps to reproduce. The registry is returning 400 on the PUT request. I'm not sure at this time why our registry is returning a 400.

What is the expected behavior? The command should report back to the user that the publishing was not successful.

Please mention your node.js, yarn and operating system version. node v9.11.1 yarn v1.7.0 OS Ubuntu 18.04

image

Contributor guide