Open
Description
On my machine, a kubernetes-typescript install takes:
200 seconds with a standard install
20 seconds with yarn PNP
First-class Yarn PNP support would be appreciated as it would mean much faster project startup time.
Error:
brandon@dev:~/pulumi-project/01-first$ pulumi up
Enter your passphrase to unlock config/secrets
(set PULUMI_CONFIG_PASSPHRASE to remember):
Previewing update (test):
Type Name P
pulumi:pulumi:Stack pulumi-project-test
Diagnostics:
pulumi:pulumi:Stack (pulumi-project-test):
error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
error: failed to load language plugin nodejs: could not read plugin [/home/brandon/.pulumi/bin/pulumi-language-nodejs] stdout: EOF
Reproduction
pulumi new kubernetes-typescript
mkdir 01-first && mv package.json 01-first/
mv index.ts 01-first/
echo 'config: .pulumi' >> Pulumi.yaml
Create a package.json
{
"private": true,
"workspaces": [
"01-first"
]
}
yarn policies set-version v2
yarn install
cd 01-first
pulumi stack init test
The tree should now look like this:
tree
.
|____yarn.lock
|____tsconfig.json
|____.yarn
...snip...
|____.gitignore
|____.pnp.js
|____01-first
| |____index.ts
| |____package.json
|____.pulumi
| |____Pulumi.test.yaml
|____Pulumi.yaml
|____package.json
|____.yarnrc
pulumi up
// logs error noted above