Compile dcraw.c for mac by running npm run compile:darwin This projects distributes the dcraw binary through a series of npm modules, in order to allow using the binaries through child_process. Reference - npm package Github repository