Refactor to gather all the API calls into one place (#9) #27
Annotations
1 error and 2 warnings
Setup and Build
Error: s2i exited with code 1
Running S2I version "v1.3.1"
Image "registry.access.redhat.com/ubi9/nodejs-18:1" not available locally, pulling ...
Preparing to build pelorus-dashboard:dev
I0315 13:41:41.615592 1794 clone.go:37] Downloading "." ...
I0315 13:41:41.696296 1794 clone.go:57] Checked out "HEAD"
I0315 13:41:41.719073 1794 clone.go:63] Updated submodules for "HEAD"
Clean build will be performed
Running "assemble" in "pelorus-dashboard:dev"
---> Installing application source ...
---> Installing all dependencies
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: The package has been renamed to `open`
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
added 910 packages, and audited 911 packages in 35s
171 packages are looking for funding
run `npm fund` for details
4 vulnerabilities (1 moderate, 3 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 10.2.3 -> 10.5.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
npm notice Run `npm install -g [email protected]` to update!
npm notice
---> Building in production mode
> [email protected] build
> next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
Creating an optimized production build ...
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
✓ Compiled successfully
Linting and checking validity of types ...
Failed to compile.
./components/change-failure-rate/changeFailureRate.js
6:35 Error: React Hook "useState" is called in function "fetchChangeFailureRateData" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
7:35 Error: React Hook "useState" is called in function "fetchChangeFailureRateData" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
9:5 Error: React Hook "useEffect" is called in function "fetchChangeFailureRateData" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
31:37 Error: React Hook "useState" is called in function "fetchChangeFailureRate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
32:35 Error: React Hook "useState" is called in function "fetchChangeFailureRate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase l
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, redhat-actions/s2i-build@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading