yarn icon indicating copy to clipboard operation
yarn copied to clipboard

Request yarn support for friendly error alerts

Open hellojukay opened this issue 2 years ago • 1 comments

For own npm repositories, what if I let yarn install support output error messages? For example, if a package has a serious security issue and the server blocks the installation during yarn installation, yarn should output a friendly error message.

image

body.error or body.message should be printed.

hellojukay avatar May 26 '22 07:05 hellojukay

https://github.com/yarnpkg/yarn/blob/master/src/util/request-manager.js#L520

hellojukay avatar May 26 '22 07:05 hellojukay