Closed agoodshort closed 3 years ago
Did you npm install
? Did it finish without errors?
OS X should work fine.
OS X on Big Sur with m1 inside works fine ^^
can you better explain how to get it working on mac? or a step by step.. i'm new to this and struggling here...
Sorry, was late,
rm -rf node_modules
yarn
, when on installing packages, yarn shows some errors paste it here, some we can check everything moreFYI: @shatiffconyers
I'm stuck, i'm on Mac with everything done from here https://gist.github.com/fichek/c69326dba7e5a9dfb6ecc2c9e4e93224
Air-di-000:voc-poc a000$ ls LICENSE.txt index.js magic.c package.json README.md install-scripts package-lock.json voc-poc Air-di-000:voc-poc a000$ npm install -bash: npm: command not found Air-di-000:voc-poc a000$
Any advice?
@OdoorX
There was some an error with installing node on your PC, so just type this in your terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
You must reopen terminal to make it working, so close whole terminal application.
Then open a new terminal and type:
nvm install node
Then you should be able to rerun commands from step 5, skipping step 6, cause you have this repository already on your PC
@dgtvc many thanks, now the process in going and installed npm, but i have another problem..
@dgtvc Thanks!
Alright found my issue
It was related to xcode. I recently updated macOS and xcrun
was not updated properly I guess.
My npm install
was running fin.
But when trying to do anything else with npm
I'd have some errors like below:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Resolution steps:
$ rm -rf node_modules
$ xcode-select --install
$ npm install
@OdoorX
You are missing the ffmpeg
package.
I personally installed it using homebrew
$ brew install ffmpeg
For me brew didn't work out with ffmpeg :/ But i have working solution for this, if somebody have problem
@goodshort
I already did everything written inside here:
So, i installed homebrew and then: 1)node 2)ffmpeg
But i get this error
https://github.com/fpv-wtf/voc-poc/issues/2#issuecomment-839566333
Me, please help! :)
@OdoorX try to:
download as zip
, then open every zip file inside Downloads
for extract everything, so in Downloads
folder you will have files called ffmpeg,ffplaysudo cp ~/Downloads/ff* /usr/local/bin
this will copy binaries to executive folder on your PCAnd then ffplay should work flawlessy!
@dgtvc dude.... thank you so much, you are great!! You solved the problem for every Mac user ;)
@OdoorX
If @dgtvc solution does not work for you. What's the output of $ brew info ffmpeg
?
Closing the issue as everyone got sorted. Happy flying!
First of all, great job on that. Big big kudos to y'all! Maybe it was just not designed to work on macOS, but somewhere on the README.m you do mention that if not working on Windows, it might miss some drivers so I thought i'd try on macOS. I did not troubleshoot much this error, I kinda wanted to run it by you first.