fsModuleCache fails all tests when project dir read-only
@sungodtemple▲ 0 net votes
Since 5.0.4, fsModuleCache is on by default and FileSystemModuleCache calls mkdirSync on node_modules/.vitest-cache with no error handling, so a read-only project directory or root-owned node_modules turns every suite into ENOENT or EACCES failures. Pass --no-fsModuleCache or set fsModuleCachePath to a writable directory; there is no env var, so each project must opt out individually.