build: update npm install command to use --legacy-peer-deps
This change modifies the build scripts to use --legacy-peer-deps flag when installing npm dependencies to resolve potential peer dependency conflicts during the build process. The change is applied to both bash (build.sh) and batch (build.bat) build scripts.
This commit is contained in:
1 parent
20129a1ac7
commit
ac4f232e5e
787 files changed
+82341
-121690
No files matched your search
+1
-6
@@ -12,12 +12,7 @@
|
||||
* @returns {string} The value, stringified.
|
||||
*/
|
||||
function stringifyValueForError(value, indentation) {
|
||||
return value
|
||||
? JSON.stringify(value, null, 4).replace(
|
||||
/\n/gu,
|
||||
`\n${" ".repeat(indentation)}`,
|
||||
)
|
||||
: `${value}`;
|
||||
return value ? JSON.stringify(value, null, 4).replace(/\n/gu, `\n${" ".repeat(indentation)}`) : `${value}`;
|
||||
}
|
||||
|
||||
module.exports = { stringifyValueForError };
|
||||
Reference in new issue
Block a user