Skip to content

fix(installer): don't fail install when a dependency has no boss.json - #281

Open
Spelt wants to merge 1 commit into
HashLoad:mainfrom
Spelt:fix/missing-bossjson
Open

fix(installer): don't fail install when a dependency has no boss.json#281
Spelt wants to merge 1 commit into
HashLoad:mainfrom
Spelt:fix/missing-bossjson

Conversation

@Spelt

@Spelt Spelt commented Aug 26, 2026

Copy link
Copy Markdown

verifyDependencyCompatibility loads the dependency's boss.json to check engine/platform constraints, but returned an error when the file does not exist. Most Delphi libraries (Kastri, Alcinoe, ...) ship without a boss.json, so any install of such a dependency failed with:

failed to load package from ...\boss.json: The system cannot find
the file specified.

Treat a missing boss.json as "no engine constraints declared" and skip the compatibility check; other load errors (e.g. malformed JSON) still fail the install.

verifyDependencyCompatibility loads the dependency's boss.json to check
engine/platform constraints, but returned an error when the file does
not exist. Most Delphi libraries (Kastri, Alcinoe, ...) ship without a
boss.json, so any install of such a dependency failed with:

  failed to load package from ...\boss.json: The system cannot find
  the file specified.

Treat a missing boss.json as "no engine constraints declared" and skip
the compatibility check; other load errors (e.g. malformed JSON) still
fail the install.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant