Skip to content

Commit a7f5696

Browse files
07souravkundafrancisf
authored andcommitted
warning added for node_modules size
1 parent 924fd74 commit a7f5696

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/helpers/zipUpload.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ const uploadSuits = (bsConfig, filePath, opts, obj) => {
6969
}
7070
}
7171
if (!opts.propogateError){
72+
if (resp.statusCode == 413) {
73+
logger.warn("node_modules upload failed as the size is more than 200 MB. Dependencies will be installed in runtime. This will have a negative impact on performance.");
74+
}
7275
return resolve({});
7376
}
7477
if(responseData && responseData["error"]){

0 commit comments

Comments
 (0)