sparse-intern-71089
03/22/2022, 9:29 PMlittle-cartoon-10569
03/22/2022, 9:55 PMlittle-cartoon-10569
03/22/2022, 10:02 PMnodeargs
property to the runtime:options
object. So you need a block like this in your Pulumi.yaml:
runtime:
name: nodejs
options:
nodeargs: -r ./pnp.cjs
little-cartoon-10569
03/22/2022, 10:04 PMbright-horse-50102
03/22/2022, 10:26 PMnode_modules
on the filesystem, just -r ./.pnp.cjs
isn't enough, but using yarn's pnpify shim is. https://github.com/pulumi/pulumi/issues/3586#issuecomment-782589776bright-horse-50102
03/22/2022, 10:27 PM