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

Build error: TypeError: Cannot read properties of undefined (reading 'relatedPosts') #80

Closed
josecelano opened this issue Apr 30, 2024 · 0 comments · Fixed by #85
Closed
Assignees
Labels
Bug Incorrect Behaviour

Comments

@josecelano
Copy link
Member

Running npm run build:

TypeError: Cannot read properties of undefined (reading 'relatedPosts')
    at file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/entries/pages/(blog-article)/_layout.svelte.js:119:322
    at Object.$$render (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/chunks/ssr.js:239:18)
    at Object.default (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/chunks/internal.js:71:119)
    at file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/entries/pages/_layout.svelte.js:4:42
    at Object.$$render (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/chunks/ssr.js:239:18)
    at file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/chunks/internal.js:60:120
    at $$render (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/chunks/ssr.js:239:18)
    at Object.render (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/chunks/ssr.js:247:20)
    at render_response (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/index.js:1402:34)
    at async render_page (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/index.js:2220:12)
  500 /introducing-the-new-sample-torrent-migration-tool
NotFound [Error]: Not found: /favicon.ico
    at resolve2 (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/index.js:2895:18)
    at resolve (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/index.js:2722:34)
    at #options.hooks.handle (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/index.js:2961:71)
    at respond (file:///home/josecelano/Documents/git/committer/me/github/torrust/torrust-website/.svelte-kit/output/server/index.js:2720:43) {
  status: 404
}
@josecelano josecelano added the Bug Incorrect Behaviour label Apr 30, 2024
@cgbosse cgbosse added this to the v3.0.0 milestone May 24, 2024
@josecelano josecelano removed this from the v3.0.0 milestone Jul 10, 2024
@josecelano josecelano transferred this issue from torrust/torrust-website-v1 Oct 3, 2024
@josecelano josecelano linked a pull request Oct 4, 2024 that will close this issue
josecelano added a commit that referenced this issue Oct 4, 2024
ebca183 fix github issues (Graeme Byrne)

Pull request description:

  * In order to prevent long URLs in links and list items from overflowing the page, add :
  ```
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: normal;
  ```
  * Remove `word-break: break-all;` from links and list items which don't require it.
  * [Highlight ToC #81](#81)
  * [Build error: TypeError: Cannot read properties of undefined (reading 'relatedPosts') #80](#80)
  * [Ask the designer how to implement a link inside a key feature card #42](#42)
  * [Enable second level of indentation in TableOfContents section #58](#58)
  * [v1 error page in v2 #71](#71)
  * [Fake links in homepage #84](#84)

ACKs for top commit:
  josecelano:
    ACK ebca183

Tree-SHA512: 6536a66c42e4876ab6b5aebf7f68405441420eee2b87ff1887ffcbd2a09ac7ed1e588e563075476a2b51f4abe4b046e4947959e0c9f408de99b9057d5aa14f74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect Behaviour
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants