Cannot find normal binary files on the MAC of Apple m1 chip
Downloading node-libpng prebuilt binary form "https://github.com/Prior99/node-libpng/releases/download/0.2.20/node-libpng-darwin-arm64-93.node"
Noe supported node-libpng
I can't add support for this platform as I do not own the hardware. Apple makes it notoriously complicated to build software for their hardware. I would welcome a pull request that adds support for automated builds for this machine.
Automated builds is not enough. I have built library on my M1 mac and not all the tests passed and have no idea how to fix them
PASS src/__tests__/test-xy.ts
PASS src/colors/__tests__/test-index.ts
PASS src/colors/__tests__/test-rgba.ts
PASS src/colors/__tests__/test-gray-scale.ts
PASS src/colors/__tests__/test-palette.ts
PASS src/__tests__/test-rect.ts
dyld[47348]: missing symbol called
PASS src/colors/__tests__/test-gray-scale-alpha.ts
PASS src/__tests__/test-is-png.ts
PASS src/__tests__/test-encode.ts
PASS src/colors/__tests__/test-rgb.ts
dyld[47347]: missing symbol called
RUNS src/__tests__/test-png-image.ts
RUNS src/__tests__/test-decode.ts
Test Suites: 10 passed, 10 of 12 total
Tests: 151 passed, 151 total
Snapshots: 21 passed, 21 total
I'm running into the same issue every time I run yarn install to install dependencies for Redocly. Mac M1 2021, running Ventura 13.3.1, Node 18.13.0.
Any chance of getting this fixed? As far as I know, Apple isn't putting out any new Macbooks with Intel chips, which means that anyone using a newer Mac with Apple silicon who is working on a Node project that requires this package is going to have a bad time.
I see that the reason this hasn't been addressed is due to lack of Apple hardware. I tried to build on my machine just now, but of course the install.js is throwing me an error that there's no supported version of this library for Node 18.13.0 on Darwin (arm64). If there's any way I might be able to help, I'm all ears, as I'm sure that I'm going to run into more projects that are affected.