stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

1.0: a lot of normalize() in output #213

Closed tremby closed 10 years ago

tremby commented 10 years ago

Since upgrading to 1.0 I have a lot of normalize(...) in my output, which the browsers don't understand. Possible bug, or is this something new I need to deal with?

This is for instance after using transition all 0.3s

notslang commented 10 years ago

hmm... try reading through this issue: #210 ... if that doesn't fix your problem then i'll look at fixing whatever this is.

tremby commented 10 years ago

That helped: upgrading Stylus to 0.35.1 fixes the issue. Perhaps Nib should throw warnings/errors if Stylus is too old? Or in the readme perhaps it should say it needs 0.35.1? Perhaps Nib's package.json should require 0.35.1 at least as a clue? (Currently it requires 0.34.x.)

Close at will.

notslang commented 10 years ago

Ah... that would explain why this issue happened twice. I'll fix that and :shipit:.

binarykitchen commented 10 years ago

@slang800 I am afraid, I am having these issues too. I am using all the latest stylus and nib versions. Yet, I see lots of 'normalize' outputs ...

binarykitchen commented 10 years ago

The bug is still here ...

notslang commented 10 years ago

Hmm... could you post some sample code so I can try to reproduce it?

binarykitchen commented 10 years ago

I am afraid, I have no such sample code with me. But it is still here ... I see lots of normalize around the CSS lines.

binarykitchen commented 10 years ago

Oh, I had a mess with some nested node modules. Now I cleaned all that and stylus works fine like a charm. Sorry about the false alarm. You can close this.

notslang commented 10 years ago

Yay! Thanks for reporting back after you sorted it out.

binarykitchen commented 10 years ago

Hmmmm, on my other machine, Mac OS, I am still having issues. CSS file is full with normalize and I have installed the latest stylus/nib libraries. This is getting funny ...

binarykitchen commented 10 years ago

Ah, the problem is this: https://github.com/techpines/asset-rack/issues/95

ryrun commented 10 years ago

I've this issue too. A lot of normalize() output. I'm using stylus with nib. i alreaddy reinstalled it:

npm uninstall nib npm uninstall stylus npm install stylus npm install nib

But i still got these lines. Whats wrong?

stylus version 0.38.0

Case needs to be reopened.

notslang commented 10 years ago

@ryrun are you using asset-rack too?

ryrun commented 10 years ago

Sorry i was able to fix this already. My npm was broken, i got two versions of stylus installed.

notslang commented 10 years ago

ah, thanks... perhaps we should look into what's allowing these old versions of stylus to be used without throwing errors... that would be useful