Erm I'm a bit stuck. I've added `For a full list ...
# hackathon-mar-2026-docs-v2
j
Erm I'm a bit stuck. I've added
For a full list of supported options, see [Software dependencies](../get_started/environment_setup/software-dependencies.md).
to run-pipelines.md but got this error
Copy code
TypeError: Cannot read properties of undefined (reading 'id')
    at /data/nf-core_website/sites/main-site/utils/functions.ts:143:91
    at Array.find (<anonymous>)
    at /data/nf-core_website/sites/main-site/utils/functions.ts:143:41
    at findByProperty (/data/nf-core_website/sites/main-site/utils/functions.ts:61:9)
    at findByProperty (/data/nf-core_website/sites/main-site/utils/functions.ts:65:23)
    at getSectionParents (/data/nf-core_website/sites/main-site/utils/functions.ts:141:5)
    at /data/nf-core_website/sites/docs/src/pages/docs/[...doc].astro:183:24
    at async callComponentAsTemplateResultOrResponse (file:///data/nf-core_website/node_modules/astro/dist/runtime/server/render/astro/render.js:96:25)
    at async renderToAsyncIterable (file:///data/nf-core_website/node_modules/astro/dist/runtime/server/render/astro/render.js:138:26)
    at async renderPage (file:///data/nf-core_website/node_modules/astro/dist/runtime/server/render/page.js:36:24)
j
@mashehu help again!
What happens if you remove the
.md
bit @Jessica Kan ?
I keep forgetting how to fix this sorry Matthias 😅
m
is there a PR, where I can see the changes?
j
m
seems to be fixed now, no?
j
Oh yeah... Magic
How weird
Should I add Priya's changes that have just been merged into docs-v2? She updated some config links
m
if possible, yes
👍 1
j
Thank you @Jessica Kan! Merging 😄
j
I'm just checking Priya's links in my branch but they've got that TypeError at the moment
m
just to clarify, you get the above error, if you pull in the changes in the docs-v2 branch or already in your PR?
j
I get the TypeError for the configuration file changes that Priya made when I merge her changes into my branch. But I don't know if that's just to do with astro slowly updating as it disappeared for my software dependencies link even though I didn't change anything?
j
🤔
Ok, then maybe test now on the main docs-v2 deploy
m
do you get the typeError locally but not in the deploy preview?
And on command line
On my branch
m
okay, will try it locally then
j
I think it's to do with the .md bit of the file? For some reason it give the TypeError for me when I have ".md" but without ".md" it's ok? But then Priya's worked with ".md"? Mine:
For a full list of supported options, see [Software dependencies](../get_started/environment_setup/software-dependencies).
Priya:
[Configure pipelines](./configuration/configuration-options.md)
Not sure if it's to do with something in my settings?
j
Aha, that could be it
Just drop
.md
and it should be OK
j
But why does it work for Priya and not me?
j
we don't ask
😅 1
😁 1
m
a-person-pressing-a-key-on-a-keyboard-with-web-development-written-in-pink.gif
😬 1
100 rainbow 1