instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.57k stars 2.47k forks source link

npm ERR! code EBADENGINE #2252

Closed abel-haj closed 1 year ago

abel-haj commented 1 year ago

Summary:

Building docker images fails in this command RUN npm install -g npm@latest && npm cache clean --force I am trying to run canvas locally on macOS, and I am following the Quickstart guide Please help!

Steps to reproduce:

  1. Execute ./script/docker_env_setup.sh
  2. Yes for OK to run 'cp docker-compose/config/*.yml config/'?

Additional notes:

docker_dev_setup.log

Vybeu commented 1 year ago

I was able to solve this problem by commenting out this line in the Dockerfile: RUN npm install -g npm@latest && npm cache clean --force

Then ran the ./script/docker_env_setup.sh

I hope it works for you too!

abel-haj commented 1 year ago

I was able to solve this problem by commenting out this line in the Dockerfile: RUN npm install -g npm@latest && npm cache clean --force

Then ran the ./script/docker_env_setup.sh

I hope it works for you too!

Thank you so much! That works, no more errors encountered!

jakeoeding commented 1 year ago

This commit was made to correct this issue. There was a day or two period where the build was broken, but if you pull the latest master branch it should be fixed now.