Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not found: Error: Can't resolve 'react-icons/all' in '/app/src/js/components/infoBar' #18

Open
jmiranda opened this issue Feb 28, 2024 · 0 comments

Comments

@jmiranda
Copy link
Member

While testing #17 with a newly cloned repository I was able to see the errors being output by the npm run bundle command.

I've attached the full log file openboxes-docker-grails-1.log

A lot of the errors are of the form

ERROR in ./src/js/components/infoBar/InfoBar.jsx
Module not found: Error: Can't resolve 'react-icons/all' in '/app/src/js/components/infoBar'
 @ ./src/js/components/infoBar/InfoBar.jsx 3:0-46 25:40-51
 @ ./src/js/components/Layout/Header.jsx
 @ ./src/js/components/Layout/MainLayout.jsx
 @ ./src/js/components/Layout/MainLayoutRoute.jsx
 @ ./src/js/components/Router.jsx
 @ ./src/js/MainRouter.jsx
 @ ./src/js/index.jsx

which is either a bug with the react-icons package
react-icons/react-icons#740

or makes me suspect that I need to run npm install manually before running

docker-compose up

But why?

Manually running npm install in the openboxes repository resolved the issue. But this shouldn't be necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant