https://pulumi.com logo
#aws
Title
s

sparse-spring-91820

07/23/2023, 2:36 PM
I am getting
Error: Cannot find module '/Users/ikovac/Projects/personal/pulumi-lambda/node_modules/@pulumi/archive/scripts/install-pulumi-plugin.js'
error when trying to install
@pulumi/archive
package used in Lambda function example: https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function/ Has anyone experienced the same issue?
b

brave-planet-10645

07/23/2023, 2:38 PM
That archive package was mainly built for our terraform converter. The Pulumi SDK has a built in archive class that this example is referring to
Having said that, this looks like an error in the archive package so it’s worth raising an issue if you don’t mind
s

sparse-spring-91820

07/23/2023, 2:39 PM
Thank you @brave-planet-10645 🙌
g

great-sunset-355

07/25/2023, 5:08 AM
@sparse-spring-91820 Be aware of this issue with the Assets, it does not follow symlinks if you have a yarn workspace (perhaps other workspaces as well). https://github.com/pulumi/pulumi/issues/9465