Why appium-doctor can't detected opencv4nodejs on mac?

the mac version is big sur,i try npm install -g opencv4nodejs,but just failed.

error massage:

ERR! child process exited with code 2 (for more info, set '--loglevel silly') 
npm WARN [email protected] requires a peer of [email protected]^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/zhangkaiyi/.npm/_logs/2020-06-14T16_02_34_688Z-debug.log

when i try brew to install opencv4,it succeed,but appium-doctor can’t detected…
need help.thanks

OS X recently changed shell from bash to zsh. I’ve had problems like this also, but have been able to solve with the following advice:

system version is big sur,it already used zsh…

anyway,this problem seem not about the shell…

You could try the solution from Is there an alternative for Opencv4nodejs?