inveniosoftware / docs-invenio-ils

InvenioILS docs
https://invenioils.docs.cern.ch/
MIT License
3 stars 6 forks source link

docker-compose error on step 7/18 #9

Open pepa65 opened 3 years ago

pepa65 commented 3 years ago

Package version (if known): master v1.0.0a46

Describe the bug

The docker-compose step in the readme fails.

Steps to Reproduce

  1. cd git
  2. git clone https://github.com/inveniosoftware/invenio-app-ils invenioils
  3. cd invenioils
  4. docker-compose -f docker-compose.full.yml up

Expected behavior

The containers to be built and run

Screenshots (if applicable)

Step 7/18 : RUN REACT_APP_INVENIO_UI_URL="https://127.0.0.1"  REACT_APP_INVENIO_REST_ENDPOINTS_BASE_URL="https://127.0.0.1/api"  REACT_APP_ENV_NAME="dev"  npm run build
 ---> Running in 50f16d3ffcfa

> @inveniosoftware/react-invenio-app-ils@1.0.0-alpha.50 build /code
> craco build

Creating an optimized production build...
Failed to compile.

./src/lib/pages/backoffice/Document/DocumentEditor/schema.js
  Line 11:16:  Replace `'title',?'authors',?'publication_year',?'document_type',?'languages'` with `???????'title',???????'authors',???????'publication_year',???????'document_type',???????'languages',?????`  prettier/prettier

Search for the keywords to learn more about each error.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @inveniosoftware/react-invenio-app-ils@1.0.0-alpha.50 build: `craco build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @inveniosoftware/react-invenio-app-ils@1.0.0-alpha.50 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-07-23T11_07_35_927Z-debug.log
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c REACT_APP_INVENIO_UI_URL="https://127.0.0.1"  REACT_APP_INVENIO_REST_ENDPOINTS_BASE_URL="https://127.0.0.1/api"  REACT_APP_ENV_NAME="dev"  npm run build' returned a non-zero code: 1
norhamsiah commented 5 months ago

have you found the solution?