Install encryption on M1, node 16

Hi erveryone,
I can’t run my npm install because of a problem with mongodb-client-encryption. Have any of you ever had this problem?

npm ERR! code 7
npm ERR! path /Users/admin/code/jam/jam_powa/node_modules/mongodb-client-encryption
npm ERR! command failed
npm ERR! command sh -c prebuild-install --tag-prefix node-v || node-gyp rebuild
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=19.6.1 runtime=node arch=arm64 libc= platform=darwin)
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@19.6.1 | darwin | arm64
npm ERR! gyp info find Python using Python version 3.11.2 found at "/opt/homebrew/opt/python@3.11/bin/python3.11"
npm ERR! gyp ERR! UNCAUGHT EXCEPTION
npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
npm ERR! gyp ERR! stack     at createConfigFile (/Users/admin/code/jam/jam_powa/node_modules/node-gyp/lib/configure.js:117:21)
npm ERR! gyp ERR! stack     at /Users/admin/code/jam/jam_powa/node_modules/node-gyp/lib/configure.js:84:9
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:181:23)
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node/19.6.1/bin/node" "/Users/admin/code/jam/jam_powa/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/admin/code/jam/jam_powa/node_modules/mongodb-client-encryption
npm ERR! gyp ERR! node -v v19.6.1
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! Node-gyp failed to build your package.
npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.