tj / node-prune

Remove unnecessary files from node_modules (.md, .ts, ...)
MIT License
4.4k stars 130 forks source link

Support for arm64 architecture #71

Open JenksyGuo opened 3 years ago

JenksyGuo commented 3 years ago

Using docker to install this dependency. Error tells me it is not compatible with arm64. I am using M1 mac book pro. :-)

image

Pong420 commented 2 years ago

use npx work for me

RUN apk --no-cache add curl bash
RUN npx node-prune
mpvosseller commented 2 years ago

Until there is a fix I just manually downloaded the amd64 version and let it run under rosetta: https://gobinaries.com/binary/github.com/tj/node-prune?os=darwin&arch=amd64&version=v1.2.0