-
Notifications
You must be signed in to change notification settings - Fork 43
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
Postinstall 404 #186
Comments
This has been happening to me as well, on a fresh install of windows 11. I'm not getting this error on an existing install. The problem is happening on both NPM and Yarn.
Unfortunately I haven't been able to fix this either. Environment: |
@jtvberg have you managed to fix this?? |
Nope. Out of ideas |
For the record, I've been trying to reproduce this several times without success (including a retry now tonight). This was done on an environment mirroring the initially reported one: Ubuntu 24.04 / x64 So I'm inclined to believe there is some environmental factor at work here, but it is very hard to tell what. I tried in a couple of smaller projects, adding the dependencies listed, but everything is just working without issue... 🤷♂️ Can you tell what is being requested when you get the 404? E.g. if you run |
It definetly is an environmental issue, ive build my program just fine 24/9 on a fresh install of ubuntu 24.10, but then i switched my environment to Fedora 41 and i also tried on Ubuntu 22.04, but unfortunately with no luck and the same error occuring same time
this is the output, after |
@slosacoder, in this case it is actually pretty clear what the issue is: ECS only supports I'm not sure if this is the explanation for all cases above, as the architecture seems to have been left out of the reports? |
Hi, sorry im replying via an email, but i dont have access to github at
this moment. Yes, that would make sense i was trying to build it on my
arm-based VPS, but how i said i got the same error even on my main x64
fedora workstation, strangely it did work on ubuntu 24.10 (also x64) few
weeks ago, ill share the debug log from npm install when i get on there.
PS: The outdated nodejs and npm version are due to the program im building
not supporting newer ones, but how i said, that shouldnt be the issue
because i built it just fine on 24/9
Thanks in advance!
Dne so 5. 10. 2024 11:11 uživatel Emil Pettersson ***@***.***>
napsal:
… @slosacoder <https://github.com/slosacoder>, in this case it is actually
pretty clear what the issue is: ECS only supports linux-x64. Since there
are no official CDMs for any of the ARM architectures of Linux we simply
can't support them, so the 404 error is very spot on. When you say it
worked on 24/9, I suppose that was on a x64 based VM or machine, or with
stock Electron (which supports ARM configurations)?
I'm not sure if this is the explanation for all cases above, as the
architecture seems to have been left out of the reports?
—
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIN3JVRECCMNIGI7UHUMQGDZZ6ULRAVCNFSM6AAAAABOJ4YTQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUHE4TCMBXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am getting this error on package install:
Both npm and yarn fail on the same step (I cleaned the npm cache, deleted the node_modules directory and lock file between every try of this.)
If I go into the
node_modules/electron
directory andyarn run postinstall
ornode install.js
I get the same.At first, digging around the posted issues I thought it was a git ssh issue as this did not work:
git --no-replace-objects ls-remote ssh://[email protected]/castlabs/electron-releases.git
as
ssh -T [email protected]
was being denied
But I generated a key, and now it works and returns the list along with the specific version I am targeting:
0a7b46f1b1300e4282f6dca0ee26f7e856141ccc refs/tags/v32.1.0+wvcus
The same exact
package.json
install works on MacOS and Windows without issue with the same versions of Node and npm (I don't typically use yarn at all. Just tried it to see if it helped.) It also used to work previously on linux Mint (which I used for testing before I switched to Ubuntu.)Here are my dependencies:
Environment:
OS: Ubuntu 24.04
Node: 22.8.0
npm: 10.8.3
I promise I have sufficiently banged my head on a wall and reviewed everything I could find under issues here or with git ssh, but I am at a loss. (To be clear, I don't see how this is a ssh problem, I just saw that in a recent issue and wanted to cover my bases.)
I would very much appreciate any insight!
The text was updated successfully, but these errors were encountered: