+ 1

npm install node-sass rsuite react-router react-router-dom

npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 [##################] \ reify:@rsuite/icons: http fetch GET 200 https://re [##################] \ reify:@rsuite/icons: http fenpm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 163 packages, and audited 1633 packages in 4m 235 packages are looking for funding run `npm fund` for details 6 high severity vulnerabilities To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. The problem is npm audit fix --force doesn't fix any issue for me, so what should be done?

11th Nov 2022, 5:41 PM
Asha
Asha - avatar
4 Réponses
+ 1
This helped me out: https://www.folkstalk.com/2022/09/how-to-update-version-of-dependencies-reactjs-with-code-examples-2.html $ npm install -g npm-check-updates $ ncu -u $ npm install
11th Nov 2022, 7:45 PM
Asha
Asha - avatar
+ 1
It looks like you're using a deprecated WARN. Upgrade to version 7 or higher.
11th Nov 2022, 6:20 PM
Ausgrindtube
Ausgrindtube - avatar
0
npm audit # npm audit report nth-check <2.0.1 Severity: high Inefficient Regular Expression Complexity in nth-check - https://github.com/advisories/GHSA-rp65-9cf3-cjxr fix available via `npm audit fix --force` Will install react-scripts@2.1.3, which is a breaking change node_modules/svgo/node_modules/nth-check css-select <=3.1.0 Depends on vulnerable versions of nth-check node_modules/svgo/node_modules/css-select svgo 1.0.0 - 1.3.2 Depends on vulnerable versions of css-select node_modules/svgo @svgr/plugin-svgo <=5.5.0 Depends on vulnerable versions of svgo node_modules/@svgr/plugin-svgo @svgr/webpack 4.0.0 - 5.5.0 Depends on vulnerable versions of @svgr/plugin-svgo node_modules/@svgr/webpack react-scripts >=2.1.4 Depends on vulnerable versions of @svgr/webpack node_modules/react-scripts 6 high severity vulnerabilities To address all issues (including breaking changes), run: npm audit fix --force
11th Nov 2022, 5:51 PM
Asha
Asha - avatar
0
Report after running npm audit fix --force: https://www.sololearn.com/compiler-playground/WC40O1eVR6AI
11th Nov 2022, 6:12 PM
Asha
Asha - avatar