Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Currently not working on arm64, but easy to workaround/fix #189

@iCrawl

Description

@iCrawl

https://www.npmjs.com/package/bin-wrapper uses an outdated library called https://www.npmjs.com/package/os-filter-obj which doesn't support non-Intel arch: kevva/os-filter-obj#3

This makes swcx currently not work via this wrapper.

.src(`${releaseBase}/${binaryName}`, platform, arch)

Removing platform and arch here, makes it work fine and should also cause no problems since with the getBinaryName() function we already download the correct platform and arch from the releases page.

arm64: "swc-darwin-arm64",

const binaryName = platformBinaryMap[platform][arch];

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions