Elderjs / elderjs

Elder.js is an opinionated static site generator and web framework for Svelte built with SEO in mind.
https://elderguide.com/tech/elderjs/
MIT License
2.12k stars 53 forks source link

[from 1.4 to 1.5.2][linux] Editing layout or page resulting in elder.js crashing #198

Open kiuKisas opened 3 years ago

kiuKisas commented 3 years ago

Step to reproduce

Result

Layout


--> need to restart to see my change

### Route
--> same result

### Components
It works !

### with esbuild
-> Layout: doesn't update my page, even if I reload
-> route/MyRoute.svelte: same error as the previsous one
-> components/MyComponents.svelte: It works !
elmarsto commented 2 years ago

I'm seeing this too. ElderJS v1.6.5. Interestingly, I have one repo that works, and one that does not; the second was forked from the first. About to git-bisect

elmarsto commented 2 years ago

git bisect FTW.

I'd added svelte-octicons. For whatever reason, when this package is added and icons are used from it, the error recurs. When it is removed, the error stops.

I'm a svelte and elderjs newb so all I've got to contribute is this humble comment on an issue ticket. If anyone else has this error and sees this: try to remove recently-added third-party packages. Elderjs and svelte-octicons are not friends, and I suspect there are other 3p packages in the same boat.