-
-
Notifications
You must be signed in to change notification settings - Fork 32
[How To] Use with yarn2 #60
Copy link
Copy link
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
When installing ts-patch with Yarn 2 (pnp) I get errors regarding undeclared dependencies for
globandresolve:Error: ts-patch tried to access glob, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.When I resolve these dependencies using my .yarnrc.yaml file in this way:
I get the following error:
[!] [BackupError]: Error backing up tsc.js - Couldn't create backup directory. EROFS: read-only filesystem, mkdir '/node_modules/typescript/lib-backup'Is there a way to support Yarn 2 with ts-patch?