canvas-lms
canvas-lms copied to clipboard
./script/docker_dev_setup.sh fail under MAC OS
Summary:
Steps to reproduce:
- Run ./script/tdocker_dev_setup.sh
Expected behavior:
Successful build
Actual behavior:
Logs are attached. Relevant bit:
#18 [webpack 6/7] RUN npm install -g npm@latest && npm cache clean --force #18 1.116 npm ERR! code EBADENGINE #18 1.118 npm ERR! engine Unsupported engine #18 1.119 npm ERR! engine Not compatible with your version of node/npm: [email protected] #18 1.119 npm ERR! notsup Not compatible with your version of node/npm: [email protected] #18 1.119 npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"} #18 1.119 npm ERR! notsup Actual: {"npm":"8.19.4","node":"v16.20.2"} #18 1.120 #18 1.120 npm ERR! A complete log of this run can be found in: #18 1.120 npm ERR! /root/.npm/_logs/2023-11-08T05_40_35_584Z-debug-0.log #18 ERROR: process "/bin/sh -c npm install -g npm@latest && npm cache clean --force" did not complete successfully: exit code: 1
#7 [jobs internal] load metadata for docker.io/instructure/ruby-passenger:3.1 #7 CANCELED Uploading docker_dev_setup.log…