Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Module not found: Error: Can't resolve 'rc-util/es/isMobile' in node_modules/rc-tabs/es

Open
#333 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by comparing the 11.7.1 and 11.7.0 packages and inspect the import from node_modules/rc-tabs/es/Tabs.js. Check why rc-util/es/isMobile cannot be resolved in 11.7.1, then reproduce the reported webpack error with the affected version. Done means the 11.7.1 dependency resolves successfully without the reported Module not found error.

Written by the indexing model from the issue text.

Description

After pulling in version 11.7.1 I get the error below. Switching back to 11.7.0 fixes it. So, somehow this must be a regression.

ERROR in ./smc-webapp/node_modules/rc-tabs/es/Tabs.js
Module not found: Error: Can't resolve 'rc-util/es/isMobile' in '[...]/smc-webapp/node_modules/rc-tabs/es'
 @ ./smc-webapp/node_modules/rc-tabs/es/Tabs.js 11:0-43 108:14-22
 @ ./smc-webapp/node_modules/rc-tabs/es/index.js
 @ ./smc-webapp/node_modules/antd/es/tabs/index.js
 @ ./smc-webapp/node_modules/antd/es/index.js
[...]
Dominant language
TypeScript
Stars
572
Forks
241
Avg merge
4d 18h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-component/tabs

All issues in react-component/tabs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.