worried-engineer-33884
01/22/2020, 5:05 PMFailed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v79-darwin-x64-unknown
Found: [node-v72-darwin-x64-unknown]
This problem can often be fixed by running "npm rebuild" on the current system
Original error: Cannot find module '/opt/pulumi/node_modules/@pulumi/pulumi/node_modules/grpc/src/node/extension_binary/node-v79-darwin-x64-unknown/grpc_node.node' from 'grpc_extension.js'
cd /opt/pulumi/node_modules/@pulumi/pulumi && npm rebuild
seems to fix it, but mildly annoying.white-balloon-205
worried-engineer-33884
01/22/2020, 9:09 PMmake
script in the pulumi nodejs sdk which may rely on brew-installed node. i don't use brew installed node, but it was installed per the pulumi contributor instructions as a dependency of yarn (which we also don't normally use).white-balloon-205
node
versions here.
i don't use brew installed node, but it was installed per the pulumi contributor instructions as a dependency of yarnI see - that is likely part of the root cause here. I don't off the top of my head know how best to address this - but it would be unique to trying to build locally and use a different node version than the local build for your development.
worried-engineer-33884
01/22/2020, 9:37 PMnpm rebuild
if this is going to be holistically addressed as part of 2.0. Thanks for the info.