question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐛[BUG] Error: Module "./react-icons/fa" does not exist in container.

See original GitHub issue

🐛 bug description

When installing any custom Icon Package, I am getting MFSU related error. I’ve tested it with

  • react-web-vector-icons
  • react-icons

Error Msg

Uncaught (in promise) Error: Module "./react-icons/fa" does not exist in container.
while loading "./react-icons/fa" from webpack/container/reference/mf
    at mf-va_remoteEntry.js:756

📷 Steps to reproduce

  • Install any icon package
  • Import any icon in your project and you will see mfsu related error in developer console

🏞 Expected results

  • Icon should work properly without any error

💻 Reproduce the code

  • npm install react-icons --save
  • import & use any icon from package in your project

© Version Information

-Ant Design Pro version: [e.g. 5.0.0] -umi version: 3.x -Browser environment -Development environment: Windows & macOs

🚑 Other information

  • Works when mfsu is disabled

Error Msg MFSU Error

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

4reactions
lunaSundaycommented, Oct 9, 2021

每次新引入组件,都会报错! 必须清除缓存,重新跑才可以。。

2reactions
lunaSundaycommented, Nov 17, 2021

请问最后怎么解决的呢?

我是把mfsu关掉了。。。 不好用

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
Error : Module "./menu-items" does not exist in container ... Is this related to the hiphen in menu-items ? webpack · webpack-module- ...
Read more >
React-pro-sidebar: A Sidebar Menu | by Dhrubo Dh - Medium
In this post, I will explain how I achieved the required sidenav using the react-pro-sidebar library. First, I created a new app using...
Read more >
Common bugs in React Native ScrollView and how to fix them
React Native's ScrollView component is ubiquitous, but its implementation can sometimes lead to mistakes. Learn what to look out for here.
Read more >
Error: Module “xxx“ does not exist in container. / antd pro v5 ...
react项目使用antd Pro v5 搭建项目启动报错解决_1671465600.
Read more >
@iconify/react - npm
Iconify for React. Iconify for React is not yet another icon component! There are many of them already. What you get with other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found