Skip to content

docker-compose error on step 7/18 #9

@pepa65

Description

@pepa65

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/[email protected] 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/[email protected] build: `craco build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @inveniosoftware/[email protected] 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions