Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: require is not defined #194

Open
armolee opened this issue Nov 9, 2020 · 3 comments
Open

Uncaught ReferenceError: require is not defined #194

armolee opened this issue Nov 9, 2020 · 3 comments

Comments

@armolee
Copy link

armolee commented Nov 9, 2020

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Uncaught ReferenceError: require is not defined
at Object. (moment.js:3)
at webpack_require (bootstrap be2dfed452189e00c89d:50)
at Object. (index.js:10)
at webpack_require (bootstrap be2dfed452189e00c89d:50)
at Object. (index.js:417)
at Object. (index.js:539)
at webpack_require (bootstrap be2dfed452189e00c89d:50)
at Object. (FormItem.js:18)
at webpack_require (bootstrap be2dfed452189e00c89d:50)
at Object. (Form.js:22)

  1. 使用 antd4-codemod src 做完升级检查
  2. npm install --save antd@4.8.0 (升级前版本3.26.18)
@sunwenli
Copy link

antd 升到 4.16.0

@N-You
Copy link

N-You commented Oct 14, 2022

升到 4.16.0依旧报错

@sunwenli
Copy link

sunwenli commented Oct 14, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants