sparse-intern-71089
11/30/2018, 5:19 PMbitter-oil-46081
11/30/2018, 7:04 PM~/.pulumi/bin/pulumi-resource-pulumi-nodejs
to look like this:
#!/bin/sh
node $(node -e "console.log(require.resolve('@pulumi/pulumi/cmd/dynamic-provider'))") $@
The change here is that instead of the relative path, we now use $(node -e "console.log(require.resolve('@pulumi/pulumi/cmd/dynamic-provider'))")
to construct the path where the dymanic provider's launcher is, which will allow node to use its normal resolution semantics.
I believe that will address your issue, based on my local testing it does for me.bitter-oil-46081
11/30/2018, 7:19 PMcold-coat-35200
11/30/2018, 8:15 PMbitter-oil-46081
12/01/2018, 1:43 AMcold-coat-35200
12/01/2018, 4:14 PMbitter-oil-46081
12/01/2018, 6:59 PMbitter-oil-46081
12/06/2018, 10:31 PMcold-coat-35200
12/07/2018, 5:56 AM