Uncaught TypeError: _interopRequireDefault is not a function at ../../../node_modules/rc-util/lib/hooks/useMergedState.js
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- babel, javascript, react, typescript, webpack
- Domain
- build-system, frontend, tooling
Research direction
Reproduce the report by running npm install @babel/plugin-proposal-class-properties --save-dev followed by npm start. Start with node_modules/rc-util/lib/hooks/useMergedState.js and the stack entries in app/components/ShareLink/index.tsx and app/components/games/GameCard.tsx. Done means the application starts without the _interopRequireDefault TypeError.
Written by the indexing model from the issue text.
Description
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)
- Dominant language
- TypeScript
- Stars
- 670
- Forks
- 205
- Avg merge
- 15d 17h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-component/util
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
react-component/util#816 ·
-
injectCSS method not attaching csp nonce passed to it. it is used in antd components internally Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
react-component/util#671 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
react-component/util#738 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
react-component/util#710 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
react-component/util#647 · 5 comments ·
All issues in react-component/util
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·