React-Bootstrap-自动改装器:将颜色调整替换为打印色调。颜色调整速记目前已弃用

发布于 2025-02-11 01:10:11 字数 1215 浏览 1 评论 0 原文

我目前正在使用NPM,而IVE则看到了有限的文章,说明了如何 npm install 解决了这个问题。我仍然遇到一些麻烦,因为即使安装

有什么想法要战斗吗?

{
  "name": "frontend",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.16.4",
    "@testing-library/react": "^13.3.0",
    "@testing-library/user-event": "^13.5.0",
    "bootstrap": "^5.1.3",
    "react": "^18.2.0",
    "react-bootstrap": "^2.4.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^6.3.0",
    "react-scripts": "5.0.1",
    "web-vitals": "^2.1.4"
  },
  "overrides": {
    "autoprefixer": "10.4.5"
  },

Im currently using npm and ive seen the limited articles stating how
npm install [email protected] --save-exact
has solved this problem. I'm still having some trouble as this error is still displayed even after installing [email protected].

Any ideas how to combat?

{
  "name": "frontend",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.16.4",
    "@testing-library/react": "^13.3.0",
    "@testing-library/user-event": "^13.5.0",
    "bootstrap": "^5.1.3",
    "react": "^18.2.0",
    "react-bootstrap": "^2.4.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^6.3.0",
    "react-scripts": "5.0.1",
    "web-vitals": "^2.1.4"
  },
  "overrides": {
    "autoprefixer": "10.4.5"
  },

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

虚拟世界 2025-02-18 01:10:11

如果使用npm,请使用“覆盖”():

{
  "overrides": {
    "autoprefixer": "10.4.5"
  }
}

如果您使用YARN,则称为“分辨率”: https://classic.yarnpkg.com/lang/lang/en/en/docs/selective-versection-version-resolutions/

If you use npm, use "overrides" (https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides):

{
  "overrides": {
    "autoprefixer": "10.4.5"
  }
}

If you use yarn, it is called "resolutions": https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文