Skip to content

Lifecycle script fails on Ubuntu #727

@mrmurphy

Description

@mrmurphy

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

What is the current behavior?
running a lifecycle script on Ubuntu fails while running on macOS works.

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

  • add "foo": "ls -la" to your package.json
  • execute yarn run foo

You should see output like this: sh: 1: ls -la: not found

What is the expected behavior?
The expected behavior, and the behavior you would see on macOS is that "ls -la" would be executed, and the output would be printed to the terminal.

Please mention your node.js, yarn and operating system version.
OS: Ubuntu 14.04.4 LTS
Node: v4.2.6
Yarn: 0.15.1

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