I am having issues with the permissions when trying to execute nodebb setup and nodebb build.
error: uncaughtException: spawn REDACTED/node_modules/sass-embedded-linux-x64/dart-sass/src/dart EACCES
Error: spawn REDACTED/node_modules/sass-embedded-linux-x64/dart-sass/src/dart EACCES
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {"date":"Mon Jul 29 2024 18:13:50 GMT+0000 (Coordinated Universal Time)","error":{"code":"EACCES","errno":-13,"path":"REDACTED/node_modules/sass-embedded-linux-x64/dart-sass/src/dart","spawnargs":["REDACTED/node_modules/sass-embedded-linux-x64/dart-sass/src/sass.snapshot","--embedded"],"syscall":"spawn REDACTED/node_modules/sass-embedded-linux-x64/dart-sass/src/dart"},"exception":true,"os":{"loadavg":[1.82,2.47,1.53],"uptime":83826.31},"process":{"argv":["/usr/bin/node","REDACTED/nodebb","build"],"cwd":"REDACTED","execPath":"/usr/bin/node","gid":1001,"memoryUsage":{"arrayBuffers":19261561,"external":22726461,"heapTotal":67047424,"heapUsed":53833768,"rss":138940416},"pid":128167,"uid":1001,"version":"v20.16.0"},"stack":"Error: spawn REDACTED/node_modules/sass-embedded-linux-x64/dart-sass/src/dart EACCES\n at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n at onErrorNT (node:internal/child_process:484:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","trace":[{"column":19,"file":"node:internal/child_process","function":"ChildProcess._handle.onexit","line":286,"method":"onexit","native":false},{"column":16,"file":"node:internal/child_process","function":"onErrorNT","line":484,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":82,"method":"processTicksAndRejections","native":false}]}
I have been trying to find out the permissions that the folder or files need to have on nodebb but the docs does not clarify this at all.
Any suggestions?
Thanks