I m new to the npm world and I apologize for the question. I would like to use Bootstrap with React (React-Bootstrap). I m having trouble installing npm install react-bootstrap bootstrap
in Ubuntu. After starting the npx command create-react-app react-bootstrap-app
, i enter the folder and start
the npm:
install react-bootstrap bootstrap --save command
我会发现错误,可以安装任何东西。 我还尝试再次安装 no和 n。 设想一版<代码>20.10.0和Npm版本10.2.3
。 我阅读了有关Stack Overflow或辅导的许多问题,但我可以解决问题。 I m New to npm and I m 有困难。 你们能否帮助我?
After running npm install react-bootstrap bootstrap --save
, i get these:
added 19 packages, and audited 1574 packages in 9s
256 packages are looking for funding
run `npm fund` for details
8 vulnerabilities (2 moderate, 6 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
在进行<代码>npm 审计后—force, i 收到这些错误和许多<代码>nmp WARN deprecated:
npm WARN using --force Recommended protections disabled.
npm WARN audit Updating react-scripts to 3.0.1, which is a SemVer major change.
added 761 packages, removed 565 packages, changed 374 packages, and audited 1770 packages in 2m
115 packages are looking for funding
run `npm fund` for details
# npm audit report
ansi-html <0.0.8
Severity: high
Uncontrolled Resource Consumption in ansi-html - https://github.com/advisories/GHSA-whgm-jr23-g3j9
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/ansi-html
webpack-dev-server 2.0.0-beta - 4.7.2
Depends on vulnerable versions of ansi-html
Depends on vulnerable versions of chokidar
Depends on vulnerable versions of selfsigned
Depends on vulnerable versions of sockjs
Depends on vulnerable versions of yargs
node_modules/webpack-dev-server
react-scripts >=0.1.0
Depends on vulnerable versions of @svgr/webpack
Depends on vulnerable versions of @typescript-eslint/eslint-plugin
Depends on vulnerable versions of @typescript-eslint/parser
Depends on vulnerable versions of css-loader
Depends on vulnerable versions of eslint-config-react-app
Depends on vulnerable versions of jest
Depends on vulnerable versions of jest-environment-jsdom-fourteen
Depends on vulnerable versions of optimize-css-assets-webpack-plugin
Depends on vulnerable versions of postcss-flexbugs-fixes
Depends on vulnerable versions of postcss-loader
Depends on vulnerable versions of postcss-normalize
Depends on vulnerable versions of postcss-preset-env
Depends on vulnerable versions of postcss-safe-parser
Depends on vulnerable versions of react-dev-utils
Depends on vulnerable versions of semver
Depends on vulnerable versions of terser-webpack-plugin
Depends on vulnerable versions of webpack-dev-server
node_modules/react-scripts
browserslist 4.0.0 - 4.16.4
Severity: moderate
Regular Expression Denial of Service in browserslist - https://github.com/advisories/GHSA-w8qv-6jwh-64r5
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/react-dev-utils/node_modules/browserslist
react-dev-utils 0.4.0 - 12.0.0-next.60
Depends on vulnerable versions of browserslist
Depends on vulnerable versions of fork-ts-checker-webpack-plugin
Depends on vulnerable versions of globby
Depends on vulnerable versions of immer
Depends on vulnerable versions of loader-utils
Depends on vulnerable versions of recursive-readdir
Depends on vulnerable versions of shell-quote
node_modules/react-dev-utils
glob-parent <5.1.2
Severity: high
glob-parent vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/glob-parent
chokidar 1.0.0-rc1 - 2.1.8
Depends on vulnerable versions of glob-parent
node_modules/chokidar
fork-ts-checker-webpack-plugin <=3.1.0
Depends on vulnerable versions of chokidar
node_modules/fork-ts-checker-webpack-plugin
watchpack-chokidar2 *
Depends on vulnerable versions of chokidar
node_modules/watchpack-chokidar2
watchpack 1.7.2 - 1.7.5
Depends on vulnerable versions of watchpack-chokidar2
node_modules/watchpack
fast-glob <=2.2.7
Depends on vulnerable versions of glob-parent
node_modules/fast-glob
globby 8.0.0 - 9.2.0
Depends on vulnerable versions of fast-glob
node_modules/globby