Skip to content

Commit

Permalink
fix (docker): npm dependencies warning Unsupported engine (#1074)
Browse files Browse the repository at this point in the history
**Sylius version affected: 2.0**

**Steps to reproduce**

- `git clone https://github.com/Sylius/Sylius-Standard.git`
- `make init`
- Waiting for node dependencies to be installed

When running `npm install` a warning appears:
`package: '@sylius-ui/[email protected]' required: { node: '^20 || ^22' }. But
docker runs 'v18.12.1'`

![Screenshot from 2024-11-15
18-08-45](https://github.com/user-attachments/assets/9f3849d8-68f1-441f-a4f4-b3602550abb0)
  • Loading branch information
Rafikooo authored Nov 16, 2024
2 parents 27a33af + 37b8dce commit 158104a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose.override.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
ports:
- "80:80"
nodejs:
image: node:${NODE_VERSION:-18}-alpine
image: node:${NODE_VERSION:-20}-alpine
user: ${DOCKER_USER:-1000:1000}
working_dir: /srv/sylius
entrypoint: [ "/bin/sh","-c" ]
Expand Down

0 comments on commit 158104a

Please sign in to comment.