Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose error on step 7/18 #9

Open
pepa65 opened this issue Jul 23, 2021 · 1 comment
Open

docker-compose error on step 7/18 #9

pepa65 opened this issue Jul 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@pepa65
Copy link

pepa65 commented Jul 23, 2021

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
@pepa65 pepa65 added the bug Something isn't working label Jul 23, 2021
@norhamsiah
Copy link

have you found the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants