-
Notifications
You must be signed in to change notification settings - Fork 387
Description
Environment details
- OS: macOS Monterey 12.6.1 (running on an Apple M1 Pro)
- Node.js version: 18.16.0
- npm version: 9.5.1
@google-cloud/storageversion: 6.10.1
Steps to reproduce
- Attempt to use this library on an Apple Silicon machine using a version of Node.js compiled for the ARM architecture.
- Observe a runtime error from
dyldMissing symbol.
@google-cloud/storage is dependent upon hash-stream-validation, which in turn is dependent upon node-fast-crc32c. However the binary dependencies of node-fast-crc32c are NOT compatible with the M1/ARM architecture.
There is this PR for node-fast-crc32c which would resolve this issue, however it is long stalled.
Similarly there is this issue on hash-stream-validation requesting that this library also attempt to solve the problem... acknowledging that the upstream dependency appears to no longer be developed... however this issue also appears to have stalled.
I'm reminded of this XKCD sketch - I certainly hope Google might consider reimplementing the functionality of these packages into your code base, and also consider including Apple Silicon in your CI/CD pipeline to ensure a positive developer experience.
Thanks!