diff options
-rw-r--r-- | src/install/install.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/install/install.zig b/src/install/install.zig index 38d800c41..60d8e2fdf 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -930,6 +930,8 @@ const PackageInstall = struct { else => |errno| switch (std.os.errno(errno)) { .OPNOTSUPP => return error.NotSupported, .NOENT => return error.FileNotFound, + // sometimes the downlowded npm package has already node_modules with it, so just ignore exist error here + .EXIST => {}, else => return error.Unexpected, }, } |