Skip to content

Yarn fails and doesn't provide information when running inside Docker #1460

@felixsanz

Description

@felixsanz

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

Bug

What is the current behavior?

An unexpected error occured, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".

If the current behavior is a bug, please provide the steps to reproduce.

I don't know, I can't check the error :)

What is the expected behavior?

It should print errors directly to stdout/stderr. I'm trying to build a Docker image and it fails. But since this happens inside the container (and destroyed on the error step), I can't check that yarn-error.log because it doesn't exist anymore.

Please mention your node.js, yarn and operating system version.

Yarn 0.16.1 using Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions