Skip to content

yarn run doesn't work, but npm run #1298

@tiendq

Description

@tiendq
  • Run successfully from Terminal: webpack --progress --colors --watch
  • Run successfully with npm run start
  • Got "command not found" with yarn run start

Webpack is installed globally.

My package.json like this:

"scripts": { "dist": "webpack -p", "lint": "eslint *.js", "start": "webpack --progress --colors --watch" }

I think it's a bug.

yarn v0.15.1, node 6.5.0, OSX 10.11.6

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