As i run "npx sapper export", there is an error "no such file or directory, open '/Users/xxxxx/sapper-pwa/.sapper/service-worker.js'"
It seems that no service-worker.js is generated using "npm run build"..
I wanna try "Export to a static web app"
Hi @jzkitchen! It works if you explicitly install [email protected]. I'm not quite sure why this was introduced, but it seems like it broke the export command.
I freshly cloned the repository, then installed all independencies. Also I verified that sapper was 0.5 version. After building and exporting, the error still occurred.
After running "npm run build", there is no service-worker.js inside .sapper or dist
Found the same issue, can confirm pinning to 0.5.0 fixes it.
Closing as this is fixed in more recent versions — thanks
Most helpful comment
Found the same issue, can confirm pinning to 0.5.0 fixes it.