GoogleCloudPlatform / healthcare-data-harmonization

This is an engine that converts data of one structure to another, based on a configuration file which describes how. There is an accompanying syntax to make writing mappings easier and more robust.
https://cloud.google.com/solutions/healthcare-life-sciences
Apache License 2.0
198 stars 64 forks source link

docker-compose --build fails on npm dependencies #22

Open BusiPlay opened 3 years ago

BusiPlay commented 3 years ago

Following instructions in README.md - was able to create server that ran successfully on docker-compose --no-build however when running docker-compose --build I received the following errors:

Creating tar archive removing 'data_model_browser-0.0.1' (and everything under it) npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: data-model-browser@0.0.1 npm ERR! Found: @material-ui/core@4.11.3 npm ERR! node_modules/@material-ui/core npm ERR! @material-ui/core@"^4.10.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @material-ui/core@"^1.0.0 || ^3.0.0" from material-ui-search-bar@1.0.0-beta.14 npm ERR! node_modules/material-ui-search-bar npm ERR! material-ui-search-bar@"1.0.0-beta.14" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-04-06T18_00_22_802Z-debug.log The command '/bin/sh -c python setup.py sdist && npm install && npm run-script build && jupyter labextension install . --no-build && pip install $WSTL_INSTALL_DIR/data-model-browser/dist/data_model_browser-0.0.1.tar.gz $WSTL_INSTALL_DIR/magics/wstl-extensions/dist/wstl-extensions-0.0.1.tar.gz && jupyter lab build --dev-build=False --minimize=True' returned a non-zero code: 1 ERROR: Service 'notebook' failed to build