1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix post install script because of temp version of xterm

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-10-26 14:42:30 -04:00
parent 19466f1d1d
commit d1acca4d02

View File

@ -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;