Closed RostiMelk closed 2 years ago
It appears that the sub dependencies of sdk (@huddly/camera-proto
and @huddly/camera-switch-proto
) have grpc-tools as a production dependency where in reality it should have been a dev dependency. Updating this will most likely fix the above issue.
Unfortunately declaring these dependencies as dev dependencies did not fix the issue at hand. It seems that we are blocked by this issue.
You might have success using one of the approaches in this thread. Or you could try using node version 14.
Try this:
npm_config_target_arch=x64 npm i grpc-tools
npm i
or that:
yarn add grpc-tools --ignore-scripts
pushd node_modules/grpc-tools
node_modules/.bin/node-pre-gyp install --target_arch=x64
popd
Error log:
Related issue: https://github.com/grpc/grpc-node/issues/1405