rustywind: Downloading rustywind failed: Error: Request failed: 403

Hi, @artemkovalyov Thank you for your fantastic work.

I got the below error on my GitHub Action. I’m not sure how to solve this the way it needs to download files based on the os at runtime.

error /node_modules/rustywind: Command failed.
Exit code: 1
Command: node ./lib/postinstall.js
Arguments: 
Directory: /node_modules/rustywind
Output:
Finding release for v0.15.1
GET https://api.github.com/repos/avencera/rustywind/releases/tags/v0.15.1
Deleting invalid download cache
Downloading rustywind failed: Error: Request failed: 403

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 15 (5 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks for documenting @jellydn! Hoping we can get a release soon tho

@jellydn not sure when the maintainer will get to reviewing my PR, so in the meantime you can do this to install it:

cd ~
git clone https://github.com/CareRevolutions/rustywind.git
cd rustywind
git checkout fix-fails-due-to-rate-limiting
cd npm
npm i
npm pack

then go to your project and do

npm i -D ~/rustywind/rustywind-0.15.1.tgz

OR, if you prefer, untarball it into a vendor directory in your project, and npm install it from there:

mkdir vendor
cd vendor
tar xf ~/rustywind/rustywind-0.15.1.tgz
mv package rustywind
cd ..
npm i -D vendor/rustywind

@jellydn haven’t tried it out in our CI yet–probably won’t until after holidays–but I just pushed up https://github.com/avencera/rustywind/pull/68 🤞🏻