Skip to content

Yarn run command doesn't wok in 1.6.0 and 1.7.0 #6086

Closed
@shabith

Description

@shabith

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

What is the current behavior?
yarn run {command} is not working properly in yarn version 1.6.0 and 1.7.0

If the current behavior is a bug, please provide the steps to reproduce.
I tried to execute yarn run script in last 3 version of yarn and realize that last two version gives 2 different errors and it only works in yarn 1.5.1

Please have a look at below screenshot to
Version 1.7.0 - not working.

Version 1.7.0

Version 1.6.0 - not working.

Version 1.6.0

Version 1.5.1 - working.

Version 1.5.1

repo to reproduce the error - https://github.com/shabith/yarn-run-bug

What is the expected behavior?
yarn run {command} to work in latest version.

Please mention your node.js, yarn and operating system version.
git version - 2.16.2.windows.1
node version - 8.11.2
OS - Windows 10
terminal - Git bash
Yarn installed via choco without node.js - choco install yarn --ignore-dependecies

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions