sveltejs/hn.svelte.dev

Doesn't work

vprelovac opened this issue · 3 comments

It is dissapointing that your flagship demo has zero documentation/instructions and it does not work.

I assumed the way to run this was yarn/yurn run dev/yarn start based on the previously deprecated project that had a Readme.

Even with that Error: Cannot find module 'svelte/store.mjs' is thrown.

Yes, same issue here. It's got something do to with rollup I think. Commenting out the service worker out of rollup config removed that error. (not that this is the solution)

webid commented

Try updating sapper version in package.json ( v0.27.9 worked for me ) and editing 'sapper/build/server/server.js' L11 to var store_mjs = require('svelte/store');

Dependencies had got out of date somehow — fixed now