web-server
web-server copied to clipboard
write error on macos while working through tutorial (can't create sqlite db file)
I was walking through the continue tutorial and I think on macos, with the new strictness about allowing things to write to the file system, having to grant special permissions to specific apps, I’ve run into a problem with the tutorial. Here is a screenshot. I'm trying to figure out what would need to be granted write permission and how/where to do that.

Hmm, maybe if change the default-web-root to something not under /Applications ...
Yup
If I skip ahead to Section 17 of the tutorial, where you learn how to set things up without #lang web-server/insta, that fixes things. I wonder if someone on macos who gets stuck with the write error in Section 15 will know to skip ahead two sections to find the fix.
In general, though, it's a great tutorial.