Closed xplosionmind closed 4 months ago
Did you find a fix for this? I'm having the same issue.
I went into the code and swapped the following:
const aliases = (page.data.aliases ?? []).reduce(function(set, alias){
set.add(opts.slugifyFn(alias));
return set;
}, new Set());
For
const aliases = ((page.data.aliases && Array.isArray(page.data.aliases)) ? page.data.aliases : []).reduce(function(set, alias){
set.add(opts.slugifyFn(alias));
return set;
}, new Set());
Seems to have fixed the issue.
Thankyou both, unsure how I missed this issue for the past four months but I have merged Tim's fix into v1.0.6.
Below is the complete log. The source is the same as https://github.com/xplosionmind/tommi.space/tree/interlinker