Blueprint: "Invalid bin entry" warnings on 'yarn add'

Created on 27 Feb 2020  路  3Comments  路  Source: palantir/blueprint

Environment

  • __Package version(s)__: @blueprintjs/[email protected]
  • __Browser and OS versions__: Linux

Steps to reproduce

  1. yarn add @blueprintjs/[email protected]

Actual behavior

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

Expected behavior

No warnings

Possible solution

Fix bin scripts

P3 core bug help wanted

All 3 comments

Related to https://github.com/yarnpkg/yarn/pull/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" },

Actually, it was fixed in https://github.com/yarnpkg/yarn/pull/7811. Upgrading to yarn 1.22 solves it.

nice, thanks for the update!

Was this page helpful?
0 / 5 - 0 ratings