Nextjs 15 with Nixos prerender cache dir issue
Unanswered
Norwegian Forest Cat posted this in #help-forum
Norwegian Forest CatOP
Can i set or disable the behaviour that it will write to the .next/cache dir.
The nix store is readonly so maybe someone has an idea.
The nix store is readonly so maybe someone has an idea.
Nov 10 21:05:02 felix node[146618]: Failed to update prerender cache for ed1396bbd2b5c7c426bace1197911d3083ca6e5239e6166d8871aa364dc6c891 Error: ENOENT: no such file or directory, mkdi>
Nov 10 21:05:02 felix node[146618]: at async FileSystemCache.set (/nix/store/yi958aip5arwlffnfcssppiqiahlwr50-parkfuchs-1.6.33/node_modules/next/dist/server/lib/incremental-cache/f>
Nov 10 21:05:02 felix node[146618]: at async IncrementalCache.set (/nix/store/yi958aip5arwlffnfcssppiqiahlwr50-parkfuchs-1.6.33/node_modules/next/dist/server/lib/incremental-cache/>
Nov 10 21:05:02 felix node[146618]: at async (/nix/store/yi958aip5arwlffnfcssppiqiahlwr50-parkfuchs-1.6.33/.next/server/chunks/989.js:2:13299) {
Nov 10 21:05:02 felix node[146618]: errno: -2,
Nov 10 21:05:02 felix node[146618]: code: 'ENOENT',
Nov 10 21:05:02 felix node[146618]: syscall: 'mkdir',
Nov 10 21:05:02 felix node[146618]: path: '/nix/store/yi958aip5arwlffnfcssppiqiahlwr50-parkfuchs-1.6.33/.next/cache'
Nov 10 21:05:02 felix node[146618]: }