npm WARN TaskingManager-frontend@0.1.0 No description
npm WARN TaskingManager-frontend@0.1.0 No repository field.
added 2565 packages from 1157 contributors and audited 2589 packages in 861.852s
260 packages are looking for funding
run `npm fund` for details
found 60 vulnerabilities (5 low, 15 moderate, 33 high, 7 critical)
run `npm audit fix` to fix them, or `npm audit` for details
> TaskingManager-frontend@0.1.0 build /home/runner/work/ohm-deploy/ohm-deploy/frontend
> npm run preparation && npm run update-static && react-scripts build
> TaskingManager-frontend@0.1.0 preparation /home/runner/work/ohm-deploy/ohm-deploy/frontend
> bash -c "if (test -a ../tasking-manager.env); then grep -hs ^ ../tasking-manager.env .env.expand > .env; else cp .env.expand .env; fi"
> TaskingManager-frontend@0.1.0 update-static /home/runner/work/ohm-deploy/ohm-deploy/frontend
> bash -c "mkdir -p public/static/id; mkdir -p public/static/rapid; cp -R node_modules/@openhistoricalmap/id/dist/* public/static/id; if ! (test -a node_modules/RapiD/dist/RapiD.css) then mv node_modules/RapiD/dist/iD.css node_modules/RapiD/dist/RapiD.css; fi; cp -R node_modules/RapiD/dist/* public/static/rapid;"
Creating an optimized production build...
Failed to compile.
./src/index.js
Error: [BABEL] /home/runner/work/ohm-deploy/ohm-deploy/frontend/src/index.js: Requires Babel "^7.16.0", but was loaded with "7.12.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel. (While processing: "/home/runner/work/ohm-deploy/ohm-deploy/frontend/node_modules/babel-preset-react-app/index.js$0$2")
at Generator.next (<anonymous>)
at Generator.next (<anonymous>)
at Generator.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at loadPluginDescriptor.next (<anonymous>)
at loadPluginDescriptors.next (<anonymous>)
at Generator.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! TaskingManager-frontend@0.1.0 build: `npm run preparation && npm run update-static && react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the TaskingManager-frontend@0.1.0 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! /home/runner/.npm/_logs/[202](https://github.com/OpenHistoricalMap/ohm-deploy/actions/runs/10258460735/job/28381323422#step:7:203)4-08-06T01_20_27_274Z-debug.log
Error: Process completed with exit code 1.
There seems to be an issue with the TM GitHub action; it is not completing the compilation. https://github.com/OpenHistoricalMap/ohm-deploy/actions/runs/10258460735/job/28381323422
cc. @erictheise