ballerina-platform / ballerina-dev-tools

Ballerina Developer Tooling
http://ballerina.io
Apache License 2.0
114 stars 42 forks source link

The daily build is failing due to an npm build error in Task `:testerina-report-tools:npmBuildTesterinaReportTools` #378

Closed nipunayf closed 2 months ago

nipunayf commented 2 months ago

Description: $title. https://github.com/ballerina-platform/ballerina-dev-tools/actions/runs/10240427304

Error log:

./src/index.tsx
Error: [BABEL] /home/runner/work/ballerina-dev-tools/ballerina-dev-tools/testerina-report-tools/src/index.tsx: 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/ballerina-dev-tools/ballerina-dev-tools/testerina-report-tools/node_modules/babel-preset-react-app/index.js$0$2")
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ballerina/testerina-report@1.4.0-SNAPSHOT build: `react-scripts build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ballerina/testerina-report@1.4.0-SNAPSHOT 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/2024-08-05T00_24_22_354Z-debug.log
github-actions[bot] commented 2 months ago

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.