-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What versions of libsass and sass2scss does pike use? #41
Comments
I am not certain of the full set of supported versions, but libsass-3.6.5 seems to work. What OS are you using? For many OSes you need to install the |
I'm running Ubuntu 18.04. The libsass seemed to solve the issues (I downloaded and compiled the package). The sass2scss library seemed to not work with that instalation, so I tried to install the sass2scss package from this GitHub repository, and the problem persists :C |
Hmm... Ubuntu 18.04 seems to have libsass 3.4.8. Have you installed |
The |
The problem is when I try to use the |
Just to provide more context. I am trying to run the following code: write("libsass version: %s\n", Web.Sass.libsass_version());
write("sass2scss version: %s\n", Web.Sass.sass2scss_version());
string sass_code = #"
div
font-size: 12px
p
color: red
";
string scss_code = Web.Sass.sass2scss(sass_code);
write("Converted SCSS:\n" + scss_code); But all I get is the following output: main.pike:17:Index 'sass2scss' not present in module Sass.
main.pike:17:Indexed module was: Web.Sass.
main.pike:17:Too many arguments to `() (function call) (expected 0 arguments).
main.pike:17:Got : string.
Pike: Failed to compile script. Source: https://pike.lysator.liu.se/generated/manual/modref/ex/predef_3A_3A/Web/Sass/sass2scss.html |
After some research I saw that the sass2scss method was only introduced in this release: https://git.lysator.liu.se/pikelang/pike/-/releases/v8.0.702 But when trying this and the latest the method is not recognized. Is it a compilation issue?
|
I'm trying to use the Web.Sass.sass2scss method in Pike to compile SASS. However, I'm encountering errors, which I suspect are due to incorrect dependencies. Could you specify which versions of libsass and sass2scss Pike relies on? Also, what are the necessary packages I should install to ensure the Web.Sass methods function properly?
The text was updated successfully, but these errors were encountered: