Skip to content

Fail after of "docker-compose up --build". #29

@adrianmarman

Description

@adrianmarman

Hello my name is Adrian and I´m in a university internship. I need MSIR to make a coregister of MSI. However, I got a failed after of command "docker-compose up --build". The fail is it:

[msir_frontend 11/12] RUN yarn build:
0.954 yarn run v1.22.5
1.084 warning ../package.json: No license field
1.175 $ react-scripts build
9.762 Creating an optimized production build...
10.20 Browserslist: caniuse-lite is outdated. Please run:
10.20 npx browserslist@latest --update-db
10.20
10.20 Why you should do it regularly:
10.20 https://github.com/browserslist/browserslist#browsers-data-updating
11.84 Browserslist: caniuse-lite is outdated. Please run:
11.84 npx update-browserslist-db@latest
11.84 Why you should do it regularly: https://github.com/browserslist/update-d
b#readme
94.40 Browserslist: caniuse-lite is outdated. Please run:
94.40 npx browserslist@latest --update-db
94.40
94.40 Why you should do it regularly:
94.40 https://github.com/browserslist/browserslist#browsers-data-updating
182.6 Failed to compile.
182.6
182.6 Module not found: Error: Can't resolve 'path' in '/APP_ROOT_f/node_modules
/react-markdown/node_modules/vfile'
182.6 BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core mo
dules by default.
182.6 This is no longer the case. Verify if you need this module and configure a
polyfill for it.
182.6
182.6 If you want to include a polyfill, you need to:
182.6 - add a fallback 'resolve.fallback: { "path": require.resolve("path-brow
serify") }'
182.6 - install 'path-browserify'
182.6 If you don't want to include a polyfill, you can use an empty module like
this:
182.6 resolve.fallback: { "path": false }
I have made a image of MSIr in docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions