node-ffprobe-installer icon indicating copy to clipboard operation
node-ffprobe-installer copied to clipboard

custom target faild

Open blogwy opened this issue 2 years ago • 0 comments

My computer is mac intel and I want to build mac arm platform. I have tested the following two npm commands, both are installed on the mac x64 version of ffprobe. I see that the source code has the operation of reading environment variables inside, I don't know why this problem occurs?

cmd:

"scripts": { "test": "cross-env npm_config_platform=darwin npm_config_arch=arm64 npm i @ffprobe-installer/ffprobe", "build": "rm -rf ./release/app/node_modules && electron-builder build --darwin --arm64" },

Sent from PPHub

blogwy avatar Sep 22 '22 04:09 blogwy