From d1acca4d0277f3eb190059514f42b9ccf5e7ef55 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 26 Oct 2022 14:42:30 -0400 Subject: [PATCH] Fix post install script because of temp version of xterm Signed-off-by: Sebastian Malton --- scripts/fix-canvas-deps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fix-canvas-deps.ts b/scripts/fix-canvas-deps.ts index 90b5e939ed..521437b37e 100644 --- a/scripts/fix-canvas-deps.ts +++ b/scripts/fix-canvas-deps.ts @@ -25,7 +25,7 @@ const exec = promisify(child_process.exec); const pipeline = promisify(stream.pipeline); // This is done so that we can skip the scripts for only this package -await exec("npm install canvas@2 --no-save --no-package-lock --ignore-scripts"); +await exec("npm install canvas@2 --no-save --no-package-lock --ignore-scripts --legacy-peer-deps"); const nodeModuleVersion = process.versions.modules; const canvasVersion = (await readJson("./node_modules/canvas/package.json")).version as string;