amundsen-io/amundsen

Docker compose for docker-amundsen-atlas.yml is failing

Opened this issue · 2 comments

Expected Behavior

Running the following command should bring up the Amundsen system with Atlas:
docker-compose -f docker-amundsen-atlas.yml up

Current Behavior

Error thrown during the amundsenfrontend stage:

#43 [amundsenfrontend stage-1 7/7] RUN pip3 install -e .
#43 1.258 Obtaining file:///app
#43 1.260   Preparing metadata (setup.py): started
#43 2.949   Preparing metadata (setup.py): finished with status 'error'
#43 2.956   error: subprocess-exited-with-error
#43 2.956
#43 2.956   × python setup.py egg_info did not run successfully.
#43 2.956   │ exit code: 1
#43 2.956   ╰─> [10 lines of output]
#43 2.956       /bin/sh: 1: npm: not found
#43 2.956       ERROR:root:npm must be available
#43 2.956       /bin/sh: 1: npm: not found
#43 2.956       /app/setup.py:30: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
#43 2.956         logging.warn('Installation of npm dependencies failed')
#43 2.956       WARNING:root:Installation of npm dependencies failed
#43 2.956       /app/setup.py:31: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
#43 2.956         logging.warn(str(e))
#43 2.956       WARNING:root:Command '['npm install']' returned non-zero exit status 127.
#43 2.956       error in amundsen-frontend setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
#43 2.956       [end of output]
#43 2.956
#43 2.956   note: This error originates from a subprocess, and is likely not a problem with pip.
#43 2.958 error: metadata-generation-failed
#43 2.958
#43 2.958 × Encountered error while generating package metadata.
#43 2.958 ╰─> See above for output.
#43 2.958
#43 2.958 note: This is an issue with the package mentioned above, not pip.
#43 2.958 hint: See above for details.
#43 3.147
#43 3.147 [notice] A new release of pip is available: 23.0.1 -> 23.3.2
#43 3.147 [notice] To update, run: pip install --upgrade pip
#43 ERROR: process "/bin/sh -c pip3 install -e ." did not complete successfully: exit code: 1

Possible Solution

Steps to Reproduce

  1. Run docker-compose -f docker-amundsen-atlas.yml up
  2. Error on amundsenfrontend stage

Screenshots (if appropriate)

Context

Not able to start the Atlas version. The

Your Environment

Windows 11 with Docker Desktop v4.26.1

  • Amundsen version used: tried on both the head and metadata-3.12.3
  • Deployment (k8s or native): local Docker Desktop

Thanks for opening your first issue here!

How to solve this problem?