Opencv4nodejs installation on BigSur

In the past i installed opencv simply by brew install opencv and npm install -g opencv4nodejs (with disabledautobuilds).

On a new BigSur machine i get only errors with the installation of opencv.

If i do an installaton with activated autobuild i get
[ 56%] Built target opencv_core
make: *** [all] Error 2

With disabled autobuild i get :
19 errors generated.
make: *** [Release/obj.target/opencv4nodejs/cc/tracking/Trackers/TrackerBoosting.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node@12/12.22.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command “/usr/local/Cellar/node@12/12.22.7/bin/node” “/usr/local/Cellar/node@12/12.22.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–jobs” “max”
gyp ERR! cwd /usr/local/lib/node_modules/opencv4nodejs
gyp ERR! node -v v12.22.7
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

Has anyone get this running on BigSur ?

Seems very similar to this issue on Catalina:

Can you give those solutions a try?