Skip to content

Fixing Windows Builds - Adding Debug#147

Merged
jasdeepkhalsa merged 2 commits intomasterfrom
feature/fix-win-release-2
Mar 7, 2026
Merged

Fixing Windows Builds - Adding Debug#147
jasdeepkhalsa merged 2 commits intomasterfrom
feature/fix-win-release-2

Conversation

@jasdeepkhalsa
Copy link
Copy Markdown
Member

Attempting to fix Windows builds once again which are essential for npm installs on Windows
Adds a --debug flag to find out what may be going wrong, so another PR is sure to follow this one

packages/@dbdiff/cli (no slash) + package.json
= packages/@dbdiff/clipackage.json  ← ENOENT

Fix: add trailing slash so it resolves to
packages/@dbdiff/cli/package.json
…check

- Add --debug to spc.exe build so the actual nmake/cmake
  compilation error is visible in GHA logs instead of just
  'exit code 2'
- Fix getBinaryPath() in bin/dbdiff.js to verify the binary file
  actually exists on disk; previously it returned a non-null path
  even when the platform package was installed but empty (published
  without a binary after a failed build), causing an unhelpful
  ENOENT crash rather than the clear 'Could not locate binary'
  error message
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 7, 2026

@jasdeepkhalsa jasdeepkhalsa merged commit b364794 into master Mar 7, 2026
57 checks passed
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