web-server icon indicating copy to clipboard operation
web-server copied to clipboard

write error on macos while working through tutorial (can't create sqlite db file)

Open gknauth opened this issue 5 years ago • 4 comments

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. 2020-11-28_08-52-47

gknauth avatar Nov 28 '20 14:11 gknauth

Hmm, maybe if change the default-web-root to something not under /Applications ...

gknauth avatar Nov 28 '20 14:11 gknauth

Yup

jeapostrophe avatar Nov 28 '20 14:11 jeapostrophe

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.

gknauth avatar Nov 28 '20 14:11 gknauth

In general, though, it's a great tutorial.

gknauth avatar Nov 28 '20 14:11 gknauth