'EROFS: read-only file system, mkdir '/logs/'

When I try running local server from npm run start, it shows this error.

I'm using Mac and NestJS.



Solution 1:[1]

Check your tsconfig.json file on {"outDir": "/logs/"} and replace with {"outDir": "./logs"} or {"outDir": "logs"}

Tags: node npm express typescript

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dom58