Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid bin entry" warnings on 'yarn add' #3984

Closed
silverwind opened this issue Feb 27, 2020 · 3 comments
Closed

"Invalid bin entry" warnings on 'yarn add' #3984

silverwind opened this issue Feb 27, 2020 · 3 comments

Comments

@silverwind
Copy link

Environment

  • Package version(s): @blueprintjs/core@3.24.0
  • Browser and OS versions: Linux

Steps to reproduce

  1. yarn add @blueprintjs/core@3.24.0

Actual behavior

warning @blueprintjs/core@3.24.0: Invalid bin entry for "upgrade-blueprint-2.0.0-rename" (in "@blueprintjs/core").
warning @blueprintjs/core@3.24.0: Invalid bin entry for "upgrade-blueprint-3.0.0-rename" (in "@blueprintjs/core").

Expected behavior

No warnings

Possible solution

Fix bin scripts

@silverwind
Copy link
Author

Related to yarnpkg/yarn#7755. Yarn does not seem to allow dots in the bin script names:

  "bin": {
    "upgrade-blueprint-2.0.0-rename": "./scripts/upgrade-blueprint-2.0.0-rename.sh",
    "upgrade-blueprint-3.0.0-rename": "./scripts/upgrade-blueprint-3.0.0-rename.sh"
  },

@silverwind
Copy link
Author

Actually, it was fixed in yarnpkg/yarn#7811. Upgrading to yarn 1.22 solves it.

@adidahiya
Copy link
Contributor

nice, thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants