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

Error when deploying site #337

Open
SpyrexDE opened this issue Aug 20, 2023 · 4 comments
Open

Error when deploying site #337

SpyrexDE opened this issue Aug 20, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@SpyrexDE
Copy link

image

@mateomorris
Copy link
Collaborator

@SpyrexDE is this happening on all your sites or just this one?

@mateomorris
Copy link
Collaborator

Added error checking in the latest version which fails the build if any symbols are missing content & shows an error state for them in the sidebar. That should take care of this, but feel free to reopen if not.

@SpyrexDE
Copy link
Author

SpyrexDE commented Aug 30, 2023

@mateomorris
Looks like it did not solve the issue, same message as before. I only get the error when deploying the site with my timeline component.

It must have something todo with the each keyword. I am iterating through all my timeline entries like this:

    <div class="entries">
      {#each entries as entry}
          <div class="entry">
            <div class="background">
              <aside class="image" src="{images[15].image.url}"></aside>
              <aside class="image" src="{images[0].image.url}"></aside>
            </div>
            <div class="year">{entry.year}</div>
            <div class="title">{entry.title}</div>
            <div class="body">
              <p>{@html entry.text.html}</p>
            </div>
          </div>
      {/each}
    </div>

And the entry fields are setup like this:

image

Btw. I can't reopen the issue on my own

@mateomorris
Copy link
Collaborator

Hmm okay - could you attach or DM me the site file?

@mateomorris mateomorris reopened this Aug 30, 2023
@mateomorris mateomorris added the bug Something isn't working label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants