react-component / react-component/util
Uncaught TypeError: _interopRequireDefault is not a function at ../../../node_modules/rc-util/lib/hooks/useMergedState.js
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 670
- Forks
- 205
- Avg merge
- 11d 17h
- Merged PRs (30d)
- 4
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)
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.
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.
Assessment
- Tech stack
- babel, javascript, react, typescript, webpack
- Domain
- build-system, frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100