Closed yonglbl closed 1 month ago
Can you please add static/
to the .gitignore
file in backend
...and what is making it?
I pushed a few edits needed for me to run docker compose -f docker-compose.prod.yml build
I still get this error:
=> ERROR [react-prod build 7/7] RUN npm run build 41.4s
------
> [react-prod build 7/7] RUN npm run build:
0.457
0.457 > frontend@0.1.0 build
0.457 > craco build
0.457
1.793 Creating an optimized production build...
4.811 One of your dependencies, babel-preset-react-app, is importing the
4.811 "@babel/plugin-proposal-private-property-in-object" package without
4.811 declaring it in its dependencies. This is currently working because
4.811 "@babel/plugin-proposal-private-property-in-object" is already in your
4.811 node_modules folder for unrelated reasons, but it may break at any time.
4.811
4.811 babel-preset-react-app is part of the create-react-app project, which
4.811 is not maintianed anymore. It is thus unlikely that this bug will
4.811 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
4.811 your devDependencies to work around this error. This will make this message
4.811 go away.
4.811
41.19 Failed to compile.
41.19
41.19 [eslint]
41.19 src/Species.js
41.19 Line 137:28: 'viewState' is not defined no-undef
41.19
41.19 Search for the keywords to learn more about each error.
41.19
41.19
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
Did you see my notes about CORS
in https://github.com/lbl-cbg/t5-commons/issues/3#issuecomment-2174441876
I think we will need to configure both nginx and other components to properly pass modified headers.... or something along those lines.
will do
this seems to be working
Apparently now that I am the author of the most recent commit I am unable to "Review" the PR.
Someone please merge this into main
@ajtritt @oruebel can you approve the merge?
the original docker-compose didn't really point to the builded react files , react/build