Skip to content

fix: npm 12 post-install scripts bug with npx - #70

Merged
kevinwang5658 merged 3 commits into
mainfrom
kevin/fix-npm-12-issues
Oct 29, 2026
Merged

kevinwang5658 merged 3 commits into
mainfrom
kevin/fix-npm-12-issues

Conversation

@kevinwang5658

Copy link
Copy Markdown
Collaborator

With npm 12, post-install scripts are disabled by default breaking npx codify apply. We used to rely on @homebridge/pre-built-multiarch with has a node-gyp post install script. We are switching back to the Microsoft maintained node-pty package version 1.2 which has pre-compiled binaries for our supported platforms (arm64 and x64 on linux and mac)

@kevinwang5658
kevinwang5658 merged commit 2a93754 into main Oct 29, 2026
2 checks passed
@kevinwang5658
kevinwang5658 deleted the kevin/fix-npm-12-issues branch October 29, 2026 01:15
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