We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
EROFS
1 parent 3958d26 commit b7ec137Copy full SHA for b7ec137
sources/Engine.ts
@@ -152,7 +152,7 @@ export class Engine {
152
throw new UsageError(`This package manager (${packageManager}) isn't supported by this corepack build`);
153
154
let lastKnownGoodFile = await getLastKnownGoodFile(`r+`).catch(err => {
155
- if ((err as NodeError)?.code !== `ENOENT`) {
+ if ((err as NodeError)?.code !== `ENOENT` && (err as NodeError)?.code !== `EROFS`) {
156
throw err;
157
}
158
});
0 commit comments