-
Notifications
You must be signed in to change notification settings - Fork 1
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
Deploy failed in build step #29
Comments
I see what's going on here, this error is getting thrown in your
That's because we're finally starting to use blueprints in our builds for the CMS functionality. Basically these files can't be blank because that's not valid json, so even if you're not actively using them, you want to make sure they have empty curly brackets You should be able to just rerun your broken build to pull the change in. Can you give that a shot when you get a chance and see if it's cleared up for you? |
Hi @jimafisk |
You're 100% correct @jamestagal, my mistake. You'll have to pull the theme updates into your project first: I was going to make a quick PR for you, but a couple of things are happening. First, Then the build throws these errors:
I'm going to need to do some debugging to figure out exactly what's going on here. |
A quick fix you in the meantime would be locking your CI build to an older version of Plenti that still works for your project. So in https://github.com/jamestagal/edtechdesigner/blob/main/.github/workflows/netlify-deploy.yml#L15 change |
@jamestagal I tried reverting locally to Plenti |
It's very strange, when I delete all the subfolders in your project's |
Hi @jimafisk Ben |
I've been trying to debug this repo locally, the build errors appear to start on 3/6/22 at I'm not sure exactly what was introduced at that commit, but something in there is breaking all the builds from that point forward on my machine. I'm not exactly sure how you were getting passing builds after that commit in CI: https://github.com/jamestagal/edtechdesigner/actions. |
Hi @jimafisk |
A quick fix is deleting all the type folders (catgs, pages, posts, projs, tags) in the content source of either the project or the theme. Once I've done the quick fix to get things to a working state, I can once again reproduce the error by defining a For example:
{
"name": "Test",
"route": "categories/design"
} Note: only the
It seems like there's some fragile logic here that is breaking the entire build if you try to add a category value that is not being referenced in a post somewhere. This should probably be refactored so the theme can allow unused categories to exist. |
This is all making sense to me now. Your recent category & tag updates (edf6e07) have broken the build per my explanation above. The builds were passing previously because you were using an older version of Plenti (v0.5.5) that didn't care about empty
The solution is to match your categories and tags to what is referenced in your content source exactly. Optionally you may want to petition Roberto to update the theme so it's less strict about this. |
Another thing that was throwing me off was
I found this with:
Then adjusted the project's I also updated Plenti's error handling again to produce a JS stacktrace:
The Turns out there are scenarios when |
Thanks @jimafisk for all this investigating and problem solving. Hopefully it hasn't taken up too much of your time but from these post I am afraid it has. I will look at merging the changes you added tonight. From memory I first |
Hi @jimafisk However now the problem is that since you adjusted the project's
Any thoughts? Should I add |
It's not actually the tracking of the |
@jamestagal if you merge in this PR it should resolve your |
Hi @jimafisk
Serve step error:
|
Hi @jamestagal, I think your CI is passing because it's pulling the latest version of Plenti (which I release this morning), but locally you may still be using v0.5.8? Can you try upgrading to Plenti v0.5.9 and see if that fixes this? It looks like that same theme bug that I was running into earlier. Thanks! |
Hi @jimafisk Thanks again. |
Wonderful, happy to help! |
Hi @jimafisk
It's been awhile since i make any changes to my site and today after making some changes and tried
git push
I first got an error about not having the permission and a reference to a (publickey) and that might have been because I did change the.ssh/config
file when you helped me set up and test that GitLab Plenti site. Anyway I think i fixed the .ssh issue by just authenticating with a GitHub host for the repo with HTTS instead. But after it pushed the repo from my local folder, I got a failed deploy instead. see link below.Would you mind having a look and see what the issue might be when you can pls.
https://github.com/jamestagal/edtechdesigner/runs/7052483872?check_suite_focus=true
Does the reference in the error to the
_blueprint.json
file mean that I just need to install your latest binary? (v0.5.8)Regards,
Ben
The text was updated successfully, but these errors were encountered: