Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Sass can't accept float numbers as valid values to compile to css #77

Closed
Geo199128 opened this issue Jun 30, 2018 · 12 comments
Closed

Sass can't accept float numbers as valid values to compile to css #77

Geo199128 opened this issue Jun 30, 2018 · 12 comments
Labels

Comments

@Geo199128
Copy link

Geo199128 commented Jun 30, 2018

I have been using sass compiler to make a function that converts the values from px to vw, and then suddenly i get this error now:

Compilation Error
Error: 3.33333vw isn't a valid CSS value.
on line 7 of sass/c:\Users\Georgey\Documents\GitHub\CairoGuide\sass_functions.scss

@return (($value * 100) / $screen-size) * 1vw;

I have checked my code on an online compiler and it didn't give any errors.

@ritwickdey
Copy link
Owner

Can you please give me the full code block?

@ritwickdey
Copy link
Owner

Have you updated the extension to v2.2.0 ?

@ritwickdey
Copy link
Owner

Sorry for the issue. The issue is fixed in v2.2.0 but the package in the vscode marketplace is same as v2.1.0.

Actually, the package is made by Travis. & Travis caches npm_modules. I think that is why it picks old sass.js package.

ritwickdey added a commit that referenced this issue Jun 30, 2018
@Geo199128
Copy link
Author

How can i update my addon, as the update sign is not showing

@ritwickdey
Copy link
Owner

Not Deployed yet! Please wait a while. I'll update you when new version v2.2.1 will available.

@Geo199128
Copy link
Author

when will it be available, as i'm currently working on a project

@ritwickdey
Copy link
Owner

I've deployed. It will be visible to store within 5min

@Geo199128
Copy link
Author

great, thank you, i will test once i get it, and tell u the result

@ritwickdey
Copy link
Owner

It is now available. Can you please confirm me, it is fixed or not?

@Geo199128
Copy link
Author

it is working now, thank you so much

@ritwickdey
Copy link
Owner

Thank you so much for the report, confirmation & the great support.

Anyway, if you've time && you like the extension, please leave a review in the vscode marketplace.

@Geo199128
Copy link
Author

great, thank you, i will

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants