Uncaught TypeError: _interopRequireDefault is not a function at ../../../node_modules/rc-util/lib/hooks/useMergedState.js
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- babel, javascript, react, typescript, webpack
- Lĩnh vực
- build-system, frontend, tooling
Hướng nghiên cứu
Tái hiện báo cáo bằng cách chạy npm install @babel/plugin-proposal-class-properties --save-dev, sau đó chạy npm start. Bắt đầu với node_modules/rc-util/lib/hooks/useMergedState.js và các mục trong stack tại app/components/ShareLink/index.tsx và app/components/games/GameCard.tsx. Được xem là hoàn tất khi ứng dụng khởi động mà không gặp TypeError _interopRequireDefault.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
After running 'npm install @babel/plugin-proposal-class-properties --save-dev' then running npm start I got the following error
Uncaught TypeError: _interopRequireDefault is not a function
at ../../../node_modules/rc-util/lib/hooks/useMergedState.js (vendor.js:280159:23)
at webpack_require (bootstrap:79:1)
at ../../../node_modules/antd/lib/typography/Base/index.js (vendor.js:183406:47)
at webpack_require (bootstrap:79:1)
at ../../../node_modules/antd/lib/typography/Paragraph.js (vendor.js:184058:36)
at webpack_require (bootstrap:79:1)
at ./app/components/ShareLink/index.tsx (main.js:19950:87)
at webpack_require (bootstrap:79:1)
at ./app/components/games/GameCard.tsx (main.js:22478:68)
at webpack_require (bootstrap:79:1)
- Ngôn ngữ chính
- TypeScript
- Star
- 670
- Fork
- 205
- Merge trung bình
- 15 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của react-component/util
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
react-component/util#816 ·
-
injectCSS method not attaching csp nonce passed to it. it is used in antd components internally Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
react-component/util#671 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
react-component/util#738 · 1 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
react-component/util#710 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
react-component/util#647 · 5 bình luận ·
Tất cả issue của react-component/util
Issue tương tự
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100