-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
MacOS 11: Something went wrong, self-installer exits with code 1 #44
Comments
It seems it fetches pnpm from 'https://pnpm.js.org/pnpm.js' and tries to parse the result. action-setup/src/install-pnpm/run.ts Lines 22 to 23 in 3c2fe8c
The JS file is not minified; its size is |
Same here - name: Setup pnpm
uses: pnpm/action-setup@v2.2.1
with:
version: 7.x.x Looks like I ended up using this flow now - name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install pnpm
run: npm install -g pnpm@^7 |
https://pnpm.js.org/ is protected by Cloudflare, so my best (and only) guess is that the IPs GitHub is using for its macOS runners got ratelimited, and so what we're getting is Cloudflare's blocked page or its CAPTCHA page. |
We don't fetch from pnpm.js.org action-setup/src/install-pnpm/run.ts Line 25 in 57b9359
|
Well, all right, but it looks like https://get.pnpm.io/ is behind Cloudflare too, so I'm still betting it's the same thing. |
I am not sure. I have enabled caching for get.pnpm.io, so I don't think it would rate limit anything. |
one workaround is to use The solution for fixing this action is including pnpms install.sh in this repo and not relying on downloads from pnpm.io as discussed here #22 |
🚢 2.2.2 |
Now, it fails on Ubuntu 18.04 Run pnpm/action-setup@v2
Running self-installer...
[stdin]:1
<!DOCTYPE html>
^
SyntaxError: Unexpected token '<'
at new Script (vm.js:88:7)
at createScript (vm.js:2[6](https://github.com/aminya/setup-cpp/runs/7125419782?check_suite_focus=true#step:5:7)1:10)
at Object.runInThisContext (vm.js:309:10)
at Object.<anonymous> ([stdin]-wrapper:10:26)
Error: Something went wrong, self-installer exits with code 1
Installation Completed!
at Module._compile (internal/modules/cjs/loader.js:999:30)
at evalScript (internal/process/execution.js:94:25)
at internal/main/eval_stdin.js:29:5
at Socket.<anonymous> (internal/process/execution.js:20[7](https://github.com/aminya/setup-cpp/runs/7125419782?check_suite_focus=true#step:5:8):5)
at Socket.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:[12](https://github.com/aminya/setup-cpp/runs/7125419782?check_suite_focus=true#step:5:13)41:12) |
im getting this error in Ubuntu
|
The action fails on MacOS 11
https://github.com/aminya/setup-cpp/runs/6601627749?check_suite_focus=true#step:5:1
The text was updated successfully, but these errors were encountered: