Skip to content
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

Website deployment issues #834

Open
UlisesGascon opened this issue Jan 21, 2025 · 4 comments
Open

Website deployment issues #834

UlisesGascon opened this issue Jan 21, 2025 · 4 comments

Comments

@UlisesGascon
Copy link
Member

Seems like #831 and #832 are not yet in the production website, looking at the logs we might need to re-include the netlify integration?

3:52:36 PM: Failed during stage 'preparing repo': For more information, visit https://docs.netlify.com/configure-builds/troubleshooting-tips/#build-fails-with-error-128: Warning: Permanently added 'github.com' (ECDSA) to the list of known hosts.

[email protected]: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
: exit status 128
3:52:36 PM: build-image version: 8da544feea4fb5eeec1ff8d1b6a4cecf1a72b852 (focal)
3:52:36 PM: buildbot version: 8da544feea4fb5eeec1ff8d1b6a4cecf1a72b852
3:52:36 PM: Fetching cached dependencies
3:52:36 PM: Failed to fetch cache, continuing with build
3:52:36 PM: Starting to prepare the repo for build
3:52:36 PM: User git error while checking for ref refs/heads/main
3:52:36 PM: Failing build: Failed to prepare repo
@mischah
Copy link
Member

mischah commented Jan 21, 2025

Going to check this tonight. Plus’s invite you to the netlify team.

@mischah
Copy link
Member

mischah commented Jan 21, 2025

Quick Update: I reconnected the Repo at netlify but we are not able to deploy yet.

I need to get the build process running with Node v12 (at least).
The last successful deployment was build with Node v8 which isn’t available on netlify.

I try to get this builded locally and open a PR.

Besides that:
Invites for the yeoman team at netlify are on their way to both of you @JoshuaKGoldberg and @UlisesGascon

@mischah
Copy link
Member

mischah commented Jan 22, 2025

Phew. What a ride.

First things first: The main branch is live:

Image

But I had problems to understand why npm install failed locally as well as on netlify with the Node versions it used to work.
There were node-gyp issues which I thought were caused by dependency updates.

Turns out: It was caused be a Python version mismatch.

I fixed that on the netlify side by setting the needed python version via environment variable:

Image

@mischah
Copy link
Member

mischah commented Jan 22, 2025

Going to document the needed versions this in the readme.

The build setup needs a complete rewrite. But that’s a whole different story 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants