MaxLeiter / Drift

Drift is a self-hostable Gist and paste service. Built with Next.js 13 and React Server Components.
https://drift.lol
MIT License
1.36k stars 60 forks source link

Failed to update prerender files for /index #124

Closed nickelswitte closed 1 year ago

nickelswitte commented 2 years ago

Describe the bug When I am going to the index page without being logged in, I get the following error:

drift-client  | Failed to update prerender files for /index [Error: EACCES: permission denied, open '/app/.next/server/pages/index.html'] {
drift-client  |   errno: -13,
drift-client  |   code: 'EACCES',
drift-client  |   syscall: 'open',
drift-client  |   path: '/app/.next/server/pages/index.html'
drift-client  | }

I dont see any errors in the rendered website so far, but still wanted to raise awareness.

To Reproduce Steps to reproduce the behavior:

  1. Go to drift-root.tld
  2. See error in client logs

Thanks!