rocicorp / todo-nextjs

Starter Todo App
replicache-todo.vercel.app
Apache License 2.0
70 stars 33 forks source link

TypeError: Cannot read properties of undefined (reading 'digest') #27

Closed aidos closed 2 years ago

aidos commented 2 years ago

Hello. I wanted to give Replicache a spin but I'm running into an issue with the Quickstart.

When launching the app I get the following error message:

image

Any pointers appreciated.

aboodman commented 2 years ago

Argh, this is because crypto.subtle is only defined in 'secure domains'. Every so often a user trips over this, we should have a more clear error message. Filed https://github.com/rocicorp/replicache/issues/1026.