Skip to content

Errors when I tried to run docker-compose #41

@rdhyee

Description

@rdhyee

Following instructions on the README.me, I ran

docker-compose --env-file .env.opencontext -p isamples_docker_opencontext up --build > compose.log 2>&1

but got the following output -- see attached file
compose.log

At the end of the log:

#44 [isamples_docker_opencontext-solr_schema_init node_build 8/8] RUN npm run build
#0 0.953
#0 0.953 > iSamples Web UI@0.1.0 build
#0 0.953 > react-scripts build
#0 0.953
#0 2.362 Creating an optimized production build...
#0 2.483 Browserslist: caniuse-lite is outdated. Please run:
#0 2.483   npx browserslist@latest --update-db
#0 2.483   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
#0 4.363 Failed to compile.
#0 4.363
#0 4.363 Module not found: Error: Can't resolve 'solr-faceted-search-react' in '/app/src'
#0 4.363
#0 4.363
#44 ERROR: executor failed running [/bin/sh -c npm run build]: exit code: 1
------
 > [isamples_docker_opencontext-solr_schema_init node_build 8/8] RUN npm run build:
#0 0.953
#0 2.362 Creating an optimized production build...
#0 2.483 Browserslist: caniuse-lite is outdated. Please run:
#0 2.483   npx browserslist@latest --update-db
#0 2.483   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
#0 4.363 Failed to compile.
#0 4.363
#0 4.363 Module not found: Error: Can't resolve 'solr-faceted-search-react' in '/app/src'
#0 4.363
#0 4.363
------
------
 > [isamples_docker_opencontext-isamples_inabox node_build 8/8] RUN npm run build:
#0 0.953
#0 2.362 Creating an optimized production build...
#0 2.483 Browserslist: caniuse-lite is outdated. Please run:
#0 2.483   npx browserslist@latest --update-db
#0 2.483   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
#0 4.354 Failed to compile.
#0 4.354
#0 4.354 Module not found: Error: Can't resolve 'solr-faceted-search-react' in '/app/src'
#0 4.354
#0 4.354
------
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions