-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hello,
I am having trouble installing the backend project on a Ubuntu 22.10 vm.
`ERROR [6/7] RUN npm install -g npm@latest && npm install && npm install -g parse-server @parse/s3-files-adapter && npm cache clean --force 2.8s
[6/7] RUN npm install -g npm@latest && npm install && npm install -g parse-server @parse/s3-files-adapter && npm cache clean --force:
2.628 npm error code EBADENGINE
2.629 npm error engine Unsupported engine
2.629 npm error engine Not compatible with your version of node/npm: npm@11.0.0
2.630 npm error notsup Not compatible with your version of node/npm: npm@11.0.0
2.630 npm error notsup Required: {"node":"^20.17.0 || >=22.9.0"}
2.630 npm error notsup Actual: {"npm":"10.8.2","node":"v18.20.5"}
2.636 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-31T08_19_01_112Z-debug-0.log
Dockerfile-parse:10
9 |
10 | >>> RUN npm install -g npm@latest &&
11 | >>> npm install &&
12 | >>> npm install -g parse-server @parse/s3-files-adapter &&
13 | >>> npm cache clean --force
14 |
ERROR: failed to solve: process "/bin/sh -c npm install -g npm@latest && npm install && npm install -g parse-server @parse/s3-files-adapter && npm cache clean --force" did not complete successfully: exit code: 1
ERROR: Service 'parse-server' failed to build : Build failed
Error: Failed to build and start Docker services. Please check the error messages above.`