Comments (5)
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.
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.
@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.
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.
Fixed in last version, see recipes
folder for webpack integration.
from font-awesome-stylus.
Related Issues (20)
- bower support HOT 6
- extras.styl fails to compile HOT 2
- Missing nib import HOT 5
- Should bower version match original Font Awesome's version? HOT 1
- Bower version number still at 1.2.0 HOT 1
- path.styl not compiling properly HOT 2
- Usage instructions HOT 6
- Error on path.styl when installing using bower
- how to make it work with webpack HOT 1
- How do I use this with gulp? HOT 1
- Please update with 4.6 fa HOT 2
- Update to 4.6.3
- Example / gh-pages
- Change directory structure HOT 4
- [Bug] Breaking change in minor-version release
- Webpack loader complain, expected ":", got "." HOT 4
- Need more specific examples in the docs
- @import "path" commented out? HOT 2
- Use semver tags HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from font-awesome-stylus.