0% found this document useful (0 votes)
9 views4 pages

Jenkins Console Output: NPM Warnings

The Jenkins console output indicates that the npm install command was executed, resulting in several deprecation warnings for outdated packages. A build process was initiated but failed due to eslint errors related to missing dependencies and unused variables in various React components. Additionally, there are 12 vulnerabilities detected, with a recommendation to run 'npm audit fix --force' to address them.

Uploaded by

sivaamuthar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

Jenkins Console Output: NPM Warnings

The Jenkins console output indicates that the npm install command was executed, resulting in several deprecation warnings for outdated packages. A build process was initiated but failed due to eslint errors related to missing dependencies and unused variables in various React components. Additionally, there are 12 vulnerabilities detected, with a recommendation to run 'npm audit fix --force' to address them.

Uploaded by

sivaamuthar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1/5/23, 2:54 PM Shell Script Console [Jenkins]

Jenkins
Dashboard Southmatrimony Southmatrimony-cms-uat #28 Shell Script
Console Output

Up

Status

Console Output

Console Output

+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/nodejs
/node-16/bin/
+ npm install --legacy-peer-deps
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable
sort, so this library is deprecated. See the compatibility table on MDN:
[Link]
US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is
no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native [Link]() and
[Link].
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec
instead
npm WARN deprecated @material-ui/system@3.0.0-alpha.2: You can now upgrade to
@mui/system. See the guide: [Link]
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to
v2.x.x.
npm WARN deprecated [Link]@1.16.1: You can find the new Popper v2 at @popperjs/core,
this package is dedicated to the legacy v1
npm WARN deprecated material-ui-pickers@2.2.4: You can now upgrade to @material-
ui/pickers. Documentation for v2 can be found at [Link]
[Link]/
npm WARN deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not
recommended for usage due to the number of issues. Because of the V8 engine whims,
feature detection in old core-js versions could cause a slowdown up to 100x even if
nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade

[Link] 1/4
1/5/23, 2:54 PM Shell Script Console [Jenkins]

your dependencies to the actual version of core-js.


npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not
recommended for usage due to the number of issues. Because of the V8 engine whims,
feature detection in old core-js versions could cause a slowdown up to 100x even if
nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade
your dependencies to the actual version of core-js.
npm WARN deprecated @material-ui/core@3.9.3: Material UI v4 doesn't receive active
development since September 2021. See the guide [Link]
ui/migration/migration-v4/ to upgrade to v5.

> south-matrimony@0.1.0 preinstall


> npx npm-force-resolutions

added 1716 packages, and audited 1717 packages in 2m

254 packages are looking for funding


run `npm fund` for details

12 vulnerabilities (5 low, 7 high)

To address all issues (including breaking changes), run:


npm audit fix --force

Run `npm audit` for details.


+ npm run build

> south-matrimony@0.1.0 build


> react-scripts build

Creating an optimized production build...

Treating warnings as errors because [Link] = true.


Most CI servers set it automatically.

Failed to compile.

[eslint]
src/component/[Link]
Line 17:8: React Hook useEffect has a missing dependency: 'handlePageClick'. Either
include it or remove the dependency array react-hooks/exhaustive-deps

src/component/header/[Link]
Line 2:18: 'Paper' is defined but never used no-unused-vars
Line 2:25: 'IconButton' is defined but never used no-unused-vars
Line 2:37: 'InputBase' is defined but never used no-unused-vars
Line 3:16: 'useLocation' is defined but never used no-unused-vars

[Link] 2/4
1/5/23, 2:54 PM Shell Script Console [Jenkins]

src/component/header/[Link]
Line 54:7: React Hook useEffect has missing dependencies: 'dispatch' and
'searchParams'. Either include them or remove the dependency array react-
hooks/exhaustive-deps

src/component/inputs/[Link]
Line 1:10: 'Label' is defined but never used no-unused-vars

src/component/inputs/[Link]
Line 5:8: 'classNames' is defined but never used no-unused-vars

src/pages/contactus/[Link]
Line 5:8: 'cogoToast' is defined but never used no-unused-vars

src/pages/dashboard/card/[Link]
Line 1:10: 'PersonAddAltOutlined' is defined but never used
no-unused-vars
Line 1:48: 'CreditCardOutlined' is defined but never used
no-unused-vars
Line 1:68: 'AttachMoneyOutlined' is defined but never used
no-unused-vars
Line 1:89: 'PhotoCameraOutlined' is defined but never used
no-unused-vars
Line 2:24: 'Paper' is defined but never used
no-unused-vars
Line 4:10: 'Row' is defined but never used
no-unused-vars
Line 4:15: 'Col' is defined but never used
no-unused-vars
Line 12:46: img elements must have an alt prop, either with meaningful text, or an
empty string for decorative images jsx-a11y/alt-text

src/pages/emailtemplates/[Link]
Line 57:7: React Hook useEffect has missing dependencies: 'loadData' and 'loading'.
Either include them or remove the dependency array react-hooks/exhaustive-deps

src/pages/emailtemplates/[Link]
Line 65:7: React Hook useEffect has missing dependencies: 'id', 'loadData', and
'loading'. Either include them or remove the dependency array react-hooks/exhaustive-
deps

src/pages/enquiry/[Link]
Line 71:7: React Hook useEffect has missing dependencies: 'loadData' and 'loading'.
Either include them or remove the dependency array react-hooks/exhaustive-deps

src/pages/faq/[Link]

[Link] 3/4
1/5/23, 2:54 PM Shell Script Console [Jenkins]

Line 72:7: React Hook useEffect has missing dependencies: 'loadData' and 'loading'.
Either include them or remove the dependency array react-hooks/exhaustive-deps

src/pages/faq/[Link]
Line 65:7: React Hook useEffect has missing dependencies: 'id' and 'loadData'.
Either include them or remove the dependency array react-hooks/exhaustive-deps

src/pages/faq/[Link]
Line 21:7: React Hook useEffect has a missing dependency: 'loadData'. Either include
it or remove the dependency array react-hooks/exhaustive-deps

src/pages/pages/[Link]
Line 58:7: React Hook useEffect has missing dependencies: 'loadData' and 'loading'.
Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 70:51: img elements must have an alt prop, either with meaningful text, or an
empty string for decorative images jsx-a11y/alt-text

src/pages/pages/[Link]
Line 13:11: 'dispatch' is assigned a value but never used
no-unused-vars
Line 76:7: React Hook useEffect has missing dependencies: 'id' and 'loadData'.
Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 104:61: img elements must have an alt prop, either with meaningful text, or an
empty string for decorative images jsx-a11y/alt-text

src/pages/pages/[Link]
Line 21:8: React Hook useEffect has a missing dependency: 'loadData'. Either
include it or remove the dependency array react-hooks/exhaustive-deps
Line 36:13: img elements must have an alt prop, either with meaningful text, or an
empty string for decorative images jsx-a11y/alt-text

src/pages/payments/[Link]
Line 45:7: React Hook useEffect has a missing dependency: 'loadData'. Either include
it or remove the dependency array react-hooks/exhaustive-deps

src/pages/payments/[Link]
Line 26:7: React Hook useEffect has a missing dependency: 'loadData'. Either include
it or remove the dependency array react-hooks/exhaustive-deps

Jenkins 2.346.2

[Link] 4/4

You might also like