ts-patch icon indicating copy to clipboard operation
ts-patch copied to clipboard

[Question] Error backing up tsc.js (read only filesystem)

Open IlyaSavichItr opened this issue 2 years ago • 1 comments

Constantly getting error [!] [BackupError]: Error backing up tsc.js - Couldn't create backup directory. EROFS: read-only filesystem, mkdir '/node_modules/typescript/lib-backup'.

Trying with version 2.0.1

IlyaSavichItr avatar May 16 '22 16:05 IlyaSavichItr

Hi @IlyaSavichItr !

Sorry to hear you're having issues. It sounds like you're trying to use ts-patch on a read only filesystem or one which can't be written to by the application.

Because tsp directly modifies the files in node_modules, it needs the ability to write to the location.

nonara avatar Aug 10 '22 01:08 nonara