Giter Club home page Giter Club logo

Comments (5)

Nogbit avatar Nogbit commented on July 20, 2024 1

I had the same problem and resolved it by installing the following packages

less
url-loader
file-loader

from font-awesome-webpack.

maximerety avatar maximerety commented on July 20, 2024 1

@JamesJefferyUK

I don't think so as less isn't a direct dependency of font-awesome-webpack, but a peer dependency of less-loader(see package.json), which is itself a dependency of font-awesome-webpack (see package.json).

So it's up to the less-loader package to make it a normal dependency if needed, but they decided not to (see webpack-contrib/less-loader#62 (comment)).

More on peer dependencies in this good article: https://lexi-lambda.github.io/blog/2016/08/24/understanding-the-npm-dependency-model/

from font-awesome-webpack.

weituotian avatar weituotian commented on July 20, 2024

@Nogbit thanks for your advice! i will try it!

from font-awesome-webpack.

JamesTheHacker avatar JamesTheHacker commented on July 20, 2024

Same problem. Shouldn't the less module be a dependancy as it doesn't seem to work without it?

from font-awesome-webpack.

0ENZO avatar 0ENZO commented on July 20, 2024

I had the same problem and resolved it by installing the following packages

less
url-loader
file-loader

I know the topic is kinda old but I had a recent problem with less-loader and webpack and this is exactly what I needed ! Thank you

from font-awesome-webpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.