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

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

Open
adrianmarman opened this issue Nov 27, 2024 · 2 comments
Open

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

adrianmarman opened this issue Nov 27, 2024 · 2 comments

Comments

@adrianmarman
Copy link

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.

@adrianmarman
Copy link
Author

The files frontened y backened have been created like samples in the github code.
config.json.json

@adrianmarman
Copy link
Author

The file .env can´t be shared for this chat. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant