satsummit / satsummit.github.io

#SatSummit
https://2024.satsummit.io/
6 stars 3 forks source link

Unable to run site locally #267

Open olafveerman opened 2 weeks ago

olafveerman commented 2 weeks ago

Having issues running the site locally, following instructions in the documentation. On a freshly cloned repo, I get the following error when running yarn develop:

success Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 0.647s - 28/28 43.26/s
⠹ Building development bundle
Killed
error Command failed with exit code 137.

Out of memory?

Thinking this might be a out of memory issue, I ran the following command, as suggested in the Gatsby docs about resolving out of memory issues:

NODE_OPTIONS=--max-old-space-size=8192 npx process-top ./node_modules/.bin/gatsby develop -p $(node port.js) -H 0.0.0.0

resulting in:

⠸ compile gatsby files
tcache_thread_shutdown(): unaligned tcache chunk detected
tcache_thread_shutdown(): unaligned tcache chunk detected

 ERROR #11904  API.TYPESCRIPT.COMPILATION

Expected compiled files not found after compilation for /home/olaf/projects/satsummit.github.io after 5 retries.
File expected to be valid: undefined

Please run "gatsby clean" and try again. If the issue persists, please open an issue with a reproduction at https://gatsby.dev/new-issue for more help.

  Error: Worker exited before finishing task

  - index.js:205 ChildProcess.<anonymous>
    [satsummit.github.io]/[gatsby-worker]/dist/index.js:205:41

not finished compile gatsby files - 7.604s