amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.
https://www.amundsen.io/amundsen/
Apache License 2.0
4.34k stars 950 forks source link

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

Open markodjukic opened 6 months ago

markodjukic commented 6 months ago

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

boring-cyborg[bot] commented 6 months ago

Thanks for opening your first issue here!

robinjoe93 commented 3 weeks ago

How to solve this problem?