Skip to content

Commit 1c207a6

Browse files
authored
[NOBUG] Add '--legacy-peer-dep' to readme and web-cd (#667)
1 parent d1922a7 commit 1c207a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Change to the front-end directory:
8484

8585
### 3. Install Dependencies
8686
Install necessary npm packages:
87-
* `npm install`
87+
* `npm install --legacy-peer-deps`
8888

8989
### 4. Run Development Server
9090
Launch the development server:

compliance-web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ENV PATH /app/node_modules/.bin:$PATH
1212
COPY package.json ./
1313
COPY package-lock.json ./
1414

15-
RUN npm install --silent
15+
RUN npm install --silent --legacy-peer-deps
1616

1717
# create and set user permissions to app folder
1818
RUN mkdir -p node_modules/.cache && chmod -R 777 node_modules/.cache

0 commit comments

Comments
 (0)