【问题标题】:Uncaught Error: Minified React error #425. Help me未捕获的错误:缩小 React 错误 #425。帮我
【发布时间】:2022-12-13 05:05:22
【问题描述】:

将我的应用程序移至生产环境时出现了这些错误,我不知道它可能是什么。

我在用着:

    // package.json
    "dependencies": {
    "@supabase/supabase-js": "^1.35.6",
    "date-fns": "^2.29.2",
    "duration-fns": "^3.0.1",
    "next": "^12.2.5",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-hook-form": "^7.34.2",
    "react-icons": "^4.4.0",
    "uuid": "^8.3.2"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.8",
    "postcss": "^8.4.16",
    "tailwindcss": "^3.1.8"
  }

【问题讨论】:

标签: javascript reactjs debugging deployment next.js


【解决方案1】:

目前尚不清楚问题出在哪里,我猜您使用的是自定义捆绑解决方案/手动设置。你认为你会被说服转向像 Create React App 这样的东西吗?

【讨论】:

  • 我正在使用 NextJS,这个错误只发生在主机构建中。我在 Vercel 和 Netlify 中尝试过,同样的事情。
猜你喜欢
  • 2019-01-19
  • 2021-01-13
  • 2023-02-24
  • 2020-05-11
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-06-14
相关资源
最近更新 更多