microsoft / microsoft/work-iq

[Bug] regorus_ffi.dylib missing from osx-arm64 package in 0.5.0-preview1 — crashes on macOS Apple Silicon

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.