YePpHa / node-protoc

A simple wrapper for the protoc.
7 stars 14 forks source link

Need support m1 macbook pro #9

Open qiuzuhui opened 1 year ago

qiuzuhui commented 1 year ago

Currently when i install the package npm install protoc --save-dev I got error : Unsupported platform: darwin_x86_32. Was not able to find a proper protoc version.

brunobely commented 1 year ago

I think this line needs to be updated to correctly pick up when process.arch === arm64.

amirping commented 1 year ago

I create a fix for M1 chips. it's the same lib but with M1 support https://www.npmjs.com/package/@pingghost/protoc

itsAmr commented 1 year ago

On my side v1.1.0 introduced this issue. Reverting back to v1.0.4 works.

sgonzalez-pluto commented 11 months ago

On my side v1.1.0 introduced this issue. Reverting back to v1.0.4 works.

Same here, we had protoc v1.1.3 and reverting to v1.0.4 did the trick. Thanks!

douglasgomes98 commented 2 months ago

I create a fix for M1 chips. it's the same lib but with M1 support https://www.npmjs.com/package/@douglasgomes98/protoc