mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.09k stars 1.85k forks source link

Module not found: Error: Can't resolve './icons/brand-firefox.js' in '*/mantine/node_modules/tabler-icons-react/dist' #1104

Closed alimehasin closed 2 years ago

alimehasin commented 2 years ago

What package has an issue

@mantine/core

Describe the bug

I have followed the contributing page but when I run "npm run storybook" I got the following error

ERROR in ./node_modules/tabler-icons-react/dist/index.js Module not found: Error: Can't resolve './icons/brand-firefox.js' in '*/mantine/node_modules/tabler-icons-react/dist'

"npm run docs" command also have not work for the same reason

In which browser did the problem occur

None

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No response

Are you willing to participate in fixing this issue and create a pull request with the fix

No response

Possible fix

No response

rtivital commented 2 years ago

Try reinstalling dependencies

alimehasin commented 2 years ago

Try reinstalling dependencies

I have pulled the latest changes, delete node_modules and reinstall but got the same issue.

rtivital commented 2 years ago

Well, no idea how to help you then

alimehasin commented 2 years ago

After updating tabler-icons-react to the latest version v1.41.0, I managed to solve the problem