You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had issues running rootless Docker in WSL2. Running postgress with user=root, postgres-data folder is created with root access, and npm run setup fails.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: EACCES: permission denied, scandir '/src/█████/postgres-data/'
at Object.readdirSync (node:fs:1392:3)
at Object.readdir (/src/█████/node_modules/recrawl-sync/lib/fs.js:6:25)
at crawl (/src/█████/node_modules/recrawl-sync/lib/recrawl.js:46:35)
at crawl (/src/█████/node_modules/recrawl-sync/lib/recrawl.js:67:25)
at /src/█████/node_modules/recrawl-sync/lib/recrawl.js:85:9
at exports.crawl (/src/█████/node_modules/recrawl-sync/lib/recrawl.js:15:51)
at findProjects (/src/█████/node_modules/vite-tsconfig-paths/dist/index.js:210:35)
at Object.configResolved (/src/█████/node_modules/vite-tsconfig-paths/dist/index.js:68:24)
at /src/█████/node_modules/vite/dist/node/chunks/dep-9c153816.js:71056:127
at Array.map (<anonymous>) {
errno: -13,
syscall: 'scandir',
code: 'EACCES',
path: '/src/█████/postgres-data/'
}
I had issues running rootless Docker in WSL2. Running postgress with user=root,
postgres-data
folder is created with root access, andnpm run setup
fails.I solved it with this patch:
I didn't solve issues with Cypress in WSL2, but I probably will not use Cypress.
The text was updated successfully, but these errors were encountered: