Second question of the day... Is there an explanat...
# general
w
Second question of the day... Is there an explanation to when I need to install plugin and when I don't? I thought they were installed automatically when I installed the NPM packages, but now it seems like I miss one package in my when I run the application (it is an automation application). I know I can just install it manually, but I don't feel there is a consistent behavior around when I need to install plugins.
m
I think this post helps clarify the difference between plugins and the SDKs for providers https://www.pulumi.com/blog/dynamic-providers/
w
That is all good, but I thought the plugins were installed together with the SDKs, or do we need to install the plugins manually? I feel like we sometimes need to install the plugin and sometimes they are just there, so I think some clarification on how it is working (or should be working) would be really nice 🙂
Trying to clarify. I can't recall having to install plugins manually when running locally on my machine, but when running the automation application on kubernetes we are asked to install the plugins.
@broad-dog-22463 is this something you can explain?
b
So there is some logic built into our packages to resolve plugins - if the plug-in is not installed then it’s a bug
w
we sort of see that all the time I would say. So I'll file a bug for it.
b
Yes please do - if there’s a consistent issue here, we should look into it
w
@broad-dog-22463 Are they resolved during
npm install
or runtime? If they are resolved during npm install I understand why we get this issue and the problem is on me (except maybe for some lacking documentation 🙂 )
b
Yes it’s during npm install :)
w
got it... We built the application and then copied the app to a container, that will of course not include the plugins since they aren't installed in the application folder.