[Bug] regorus_ffi.dylib missing from osx-arm64 package in 0.5.0-preview1 — crashes on macOS Apple Silicon
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 132
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 6
Description
Description
@microsoft/workiq@0.5.0-preview1 crashes immediately on macOS (Apple Silicon / osx-arm64) with an unhandled exception because regorus_ffi.dylib is not included in the npm package.
Error
Unhandled exception: System.DllNotFoundException: Unable to load shared library 'regorus_ffi'
dlopen(.../node_modules/@microsoft/workiq/bin/osx-arm64/regorus_ffi.dylib, 0x0001):
tried: '...' (no such file)
Root cause
The file bin/osx-arm64/regorus_ffi.dylib (and likely bin/osx-x64/) is absent from the published npm package. The Windows equivalents (regorus_ffi.dll) are present in bin/win-x64/ and bin/win-arm64/, so this appears to be a packaging oversight.
Steps to reproduce
npx -y @microsoft/workiq@0.5.0-preview1 mcp
Environment
- Platform: macOS Apple Silicon (arm64)
- Node: via npx
- Package version:
@microsoft/workiq@0.5.0-preview1
Workaround
Pin to the previous stable version, which does not have this dependency:
npx -y @microsoft/workiq@0.4.1 mcp
Additional notes
Also related: issue #124 notes that 0.5.0-preview1 is not tagged as preview on npmjs.org, so users installing @latest silently get this broken version on macOS with no clear error message pointing to the cause.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with npx @microsoft/workiq@0.5.0-preview1 mcp and inspect the published package's bin/osx-arm64 and bin/osx-x64 directories. Compare them with bin/win-x64 and bin/win-arm64 and trace the npm packaging configuration. Done means the required macOS dylibs are included in the published package and the command starts on Apple Silicon.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100