GithubHelp home page GithubHelp logo

Comments (5)

chilblane avatar chilblane commented on June 3, 2024 1

Ran into this issue as well; it seems webpack has issues with the variables.styl inside the Font Awesome folder if you have an identically named variables.styl elsewhere in your project. The solution would be to use a unique name for font-awesome-stylus' variables.styl, but in the mean time, use a unique name for your other variable Stylus files.

from font-awesome-stylus.

ldong avatar ldong commented on June 3, 2024

Facing the same issue with Meteor

=> Your application has errors. Waiting for file change.
=> Modified -- restarting.
=> Errors prevented startup:

   While processing files with stylus (for target web.browser):
   client/stylesheets/font-awesome/list.styl: Stylus compiler error: client/stylesheets/font-awesome/list.styl:14:22
   10|     position relative
   11|
   12| .{$fa-css-prefix}-li
   13|   position absolute
   14|   left -($fa-li-width)
   ----------------------------^
   15|   width $fa-li-width
   16|   top (2em / 14)
   17|   text-align center

   TypeError: expected "undefined" to be a unit, but got ident:$fa-li-width
   at ".$fa-css-prefix-li" (client/stylesheets/font-awesome/list.styl:11:22)


=> Your application has errors. Waiting for file change.

from font-awesome-stylus.

mike-tomko-codebaby avatar mike-tomko-codebaby commented on June 3, 2024

@pkantsedalov @ldong The issue seems to be the file names actually. The compiler is trying to build each file individually instead of just building font-awesome.styl.

My fix was to just to prefix all stylus files, excluding font-awesome.styl, with an underscore (and of course update font-awesome.styl to point to the new filenames)

from font-awesome-stylus.

raulghm avatar raulghm commented on June 3, 2024

Please someone could test the last pre-release 4.7.1-alpha.1 ?

Recently I added a new structure and other improves to make more compatible this package, please let my know any things about this.

Also I include a recipe working with webpack 2 in this path https://github.com/raulghm/Font-Awesome-Stylus/tree/dev/recipes/webpack-2

from font-awesome-stylus.

raulghm avatar raulghm commented on June 3, 2024

Fixed in last version, see recipes folder for webpack integration.

from font-awesome-stylus.

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.