brave-angle-33257
12/20/2018, 4:22 AMnpm install
inside docker, and then on my host macOS, it complains about the version of gRCP.. however, while developing, I found that if you pulumi up
with the wrong one in place, apparently it deletes everything. Since this is for automation, I added a -y
to my pulumi up
command, but what i got was a full destroy. Probably not a bug, per se, but thinking you guys should be aware.Diagnostics:
pulumi:pulumi:Stack (compute-b-compute-b-stage-eus2):
(node:97) UnhandledPromiseRejectionWarning: Error: Failed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v64-linux-x64-glibc
Found: [node-v64-darwin-x64-unknown]
This problem can often be fixed by running "npm rebuild" on the current system
Original error: Cannot find module '/data/pulumi/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node'
at Object.<anonymous> (/data/pulumi/node_modules/grpc/src/grpc_extension.js:53:17)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/data/pulumi/node_modules/grpc/src/client_interceptors.js:144:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
(node:97) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:97) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Resources:
- 3 to delete
white-balloon-205
brave-angle-33257
12/21/2018, 6:03 PMwhite-balloon-205
brave-angle-33257
12/22/2018, 6:32 AM