New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot convert undefined or null to object at @pulumi/runtime/closure/codePaths.ts:250:34
#16076
Comments
There's been quite a lot of work done around closure serialisation recently. I'd recommend updating to 3.114 and seeing if that helps, and if not what error (and stack trace) you get back from that. |
@bcheidemann-kmbal Curious to understand exactly what you mean by this. This isn't the "normal" way to use NPM Workspsace AFAIU. Instead, the dependencies stay in the place they are needed, but then packages are accumulated into root workspace and linked from there. I expect you actually do want to keep the As a workaround, in case you do want this structure, you can also just add a That said, I do agree that we shouldn't panic in the case that you structure your package like this (or if for some other reason you legitimately don't have a |
What happened?
I was trying to run the default boilerplate generated by
pulumi new serverless-aws-typescript
and was faced with the following error:Example
Here are the steps I followed:
packages/infrastructure
pulumi new serverless-aws-typescript
packages/infrastructure/package.json
to the rootpackage.json
pulumi up
inpackages/infrastructure
Output of
pulumi about
Additional context
This issue seems to have been introduced in
@pulumi/pulumi
version3.108.0
(version3.107.0
works as expected).Here is the root
package.json
from my workspace:And here is a working version:
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: