faint-motherboard-95438
07/06/2023, 2:25 PMerror: could not find latest version for provider pulumi-nodejs: 404 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-pulumi-nodejs/releases/latest>. If this is a private GitHub repository, try providing a token via the GITHUB_TOKEN environment variable. See: <https://github.com/settings/tokens>
I didn't see really relevant issues on the github, so asking here before opening a ticketbillowy-army-68599
faint-motherboard-95438
07/06/2023, 3:05 PM3.74.0-1
)billowy-army-68599
pulumi about
say?faint-motherboard-95438
07/06/2023, 3:13 PMCLI
Version 3.74.0
Go Version go1.20.5
Go Compiler gc
Plugins
NAME VERSION
aws 5.19.0
aws 4.38.1
docker 3.4.1
eks 0.37.1
gcp 4.16.1
kubernetes 3.17.0
nodejs unknown
postgresql 3.3.0
random 4.4.0
Host
OS arch
Version
Arch x86_64
This project is written in nodejs: executable='/usr/bin/node' version='v20.3.0'
Backend
Name <http://pulumi.com|pulumi.com>
URL <https://app.pulumi.com/[redacted]>
User [redacted]
Organizations [redacted]
Dependencies:
NAME VERSION
@pulumi/pulumi 3.46.0
typescript 4.8.4
@aws-sdk/types 3.201.0
@pulumi/aws 5.19.0
@materya/pulumi 4.8.0
@types/node 18.11.9
nunjucks 3.2.3
@aws-sdk/client-cloudfront 3.202.0
@aws-sdk/client-sts 3.202.0
Pulumi locates its logs in /tmp by default
pulumi plugin install language nodejs
or
pulumi plugin install language pulumi-nodejs
but same error as during a pulumi preview
billowy-army-68599
faint-motherboard-95438
07/06/2023, 3:19 PMPulumi.yaml
looks like this
name: [redacted]
runtime: nodejs
description: [redacted]
config: stacks/
and we have nearly nothing in the stacks, that's a small deployment to CDN project :
config:
aws:region: eu-west-1
runtime
then ? but we always used this one and it works (still) elsewhere.
CLI version compatibility issue maybe ? Mine would be too recent ?billowy-army-68599
faint-motherboard-95438
07/06/2023, 3:43 PMerror: could not load plugin for pulumi-nodejs provider 'urn:pulumi:staging::cresh-admin::pulumi:providers:pulumi-nodejs::default': Could not automatically download and install resource plugin 'pulumi-resource-pulumi-nodejs', install the plugin using `pulumi plugin install resource pulumi-nodejs`.
But as I stated before, this exact suggested command outputs the same error as the preview, so...billowy-army-68599
nodejs
that’s a language plugin
This isn’t a valid urn:
urn:pulumi:staging::cresh-admin::pulumi:providers:pulumi-nodejs::default
there’s no such provider as pulumi-nodejs
so you’ll need to try and find in your code where your that provider is instantiated.
Are you using a dynamic provider?faint-motherboard-95438
07/06/2023, 3:50 PMnodejs
anywhere in the code, which is very small, as I said that's just a deploy project to a bucket+cdn.
Again the code, stack and all work well within other environments (local and github CI), so my main guess is a local issue on my end. I'll dig into it later, thanks again for being always so reactive 🙏echoing-dinner-19531
07/06/2023, 4:48 PMpulumi-language-nodejs
binary next to the pulumi
binary. If that's missing you'll see this error.