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

File to import not found or unreadable: ~font-awesome/scss/variables. #13

Open
AndrewRayCode opened this issue Mar 11, 2018 · 5 comments

Comments

@AndrewRayCode
Copy link

Copying the sass config from this project and using that as the config:

ERROR in ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./node_modules/font-awesome-sass-loader/font-awesome-sass-styles.loader.js!./webpack/font-awesome.config.js
Module build failed:
module.exports = {
^
      File to import not found or unreadable: ~font-awesome/scss/variables.
Parent style sheet: stdin
      in /Users/me/dev/webpack/font-awesome.config.js (line 1, column 1)
@ronjb04
Copy link

ronjb04 commented Apr 29, 2018

I have the same error.. any solution for this yet?

@jeroendesloovere
Copy link

Idem dito

@DavraYoung
Copy link

DavraYoung commented Feb 3, 2019

I guess the main reason is that did not install font awesome dependency.
Try this:
npm i font-awesome

@apurbajnu
Copy link

@import '@fortawesome/fontawesome-free/css/fontawesome.css';
@import '@fortawesome/fontawesome-free/css/all.css';

@caioagiani
Copy link

@import '@fortawesome/fontawesome-free/css/fontawesome.css';
@import '@fortawesome/fontawesome-free/css/all.css';

It worked for me

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

6 participants