What happened?
After a fresh clone of the project and following the instructions in azure/01-identity the code has many type errors and does not build.
I assume that this is because the code is written for an old version of the Pulumi Azure providers. Dependencies in package.json should be explicit rather than use 'latest' or the code should be updated.
Pulumi cli: v3.46.1
npm ls --depth 0
.../kubernetes-guides/azure/01-identity
├── @pulumi/[email protected] invalid: "latest" from the root project
├── @pulumi/[email protected] invalid: "latest" from the root project
├── @pulumi/[email protected]
├── @pulumi/[email protected] invalid: "latest" from the root project
├── @types/[email protected]
└── [email protected]
Steps to reproduce
Clone and follow instructions in azure/01-identity
Expected Behavior
It should depoly project successfully.
Actual Behavior
It fails to build the project out of the box. Additionally pulumi about
shows an error running npm ls
.
Output of pulumi about
CLI
Version 3.46.1
Go Version go1.19.2
Go Compiler gc
Plugins
NAME VERSION
azure 5.24.0
azuread 5.31.0
nodejs unknown
random 4.8.2
Host
OS darwin
Version 12.6
Arch arm64
This project is written in nodejs: executable='/Users/robin/.nvm/versions/node/v16.16.0/bin/node' version='v16.16.0'
Current Stack: dev
Found no resources associated with dev
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/robinsummerhill
User robinsummerhill
Organizations robinsummerhill, emuanalytics
Pulumi locates its logs in /var/folders/ww/z6xt_hxs1fj_s7_p2y26pry00000gn/T/ by default
warning: Failed to get information about the Pulumi program's dependencies: failed to run "/Users/robin/.nvm/versions/node/v16.16.0/bin/npm ls --json --depth=0": exit status 1
Additional context
No response
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).