Skip to content

Commit 79a0289

Browse files
committed
set legacy-peer-deps for npm
Signed-off-by: Ryan Swanson <ryan.swanson@loft.sh>
1 parent 42028f9 commit 79a0289

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

dist/npm/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ const execSync = require("child_process").execSync;
55
const fetch = require("node-fetch");
66
const Spinner = require("cli-spinner").Spinner;
77
const inquirer = require('inquirer');
8-
const findProcess = require('find-process');
8+
const findProcessModule = require('find-process');
9+
const findProcess =
10+
typeof findProcessModule === 'function'
11+
? findProcessModule
12+
: findProcessModule.default;
913

1014
const downloadPathTemplate =
1115
"https://github.com/devspace-sh/devspace/releases/download/v{{version}}/devspace-{{platform}}-{{arch}}";

hack/build-ui.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
DEVSPACE_ROOT=$(git rev-parse --show-toplevel)
66

77
# Install dependencies
8-
cd ui && npm install && npm run build
8+
cd ui && npm install --legacy-peer-deps && npm run build
99

1010
# Pack ui
1111
echo "Packing ui"

0 commit comments

Comments
 (0)