Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Module not found: Error: Cannot resolve 'file' or 'directory' ../../bower_components/font-awesome/css/font-awesome.css in /usr/src/app/app/components #184

Open
arthurzenika opened this issue Oct 5, 2016 · 1 comment

Comments

@arthurzenika
Copy link
Contributor

Follow up of #183


saltpad_1   | ERROR in ./app/components/Main.jsx
saltpad_1   | Module not found: Error: Cannot resolve 'file' or 'directory' ../../bower_components/bootstrap/dist/css/bootstrap.css in /usr/src/app/app/components
saltpad_1   |  @ ./app/components/Main.jsx 49:52-118
saltpad_1   | 
saltpad_1   | ERROR in ./app/components/Main.jsx
saltpad_1   | Module not found: Error: Cannot resolve 'file' or 'directory' ../../bower_components/font-awesome/css/font-awesome.css in /usr/src/app/app/components
saltpad_1   |  @ ./app/components/Main.jsx 51:52-119
@promorphus
Copy link

Yeah, I've run into repeated problems as well.
Before running the

npm build run

run

./node_modules/bower/bin/bower install font-awesome

and pick the react version if it asks you for it. If by chance you're running this on a mac, you'll need to install md5 as well.

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

No branches or pull requests

2 participants