Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom target faild #228

Open
blogwy opened this issue Sep 22, 2022 · 0 comments
Open

custom target faild #228

blogwy opened this issue Sep 22, 2022 · 0 comments

Comments

@blogwy
Copy link

blogwy commented Sep 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant