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
TypeError: fileURL.replace is not a function (ExecJS::ProgramError) #194
Comments
Can you provide a minimal middleman project to demonstrate this issue? |
I'm trying to setup a repo with a trimmed down version of the repo where i'm seeing the problem and it seems harder to reproduce that i might have hoped. Here is a full stack trace. Maybe you can figure it out from this. But i'm working on a small shareable repo where hopefully we can reproduce the issue.
|
This repo is the trimmed down version of the project that was showing the failure: https://github.com/rcode5/middleman-autoprefixer-bug In the readme, I pointed to what seems like the problem area. It's this sass file: /* site.css.scss */
.zine {
grid-template-columns: 1fr 1fr 1fr 1fr;
justify-items: stretch;
} If you take either of these rules out, the compilation does not break. Hopefully you can figure out what's up with this. Also - thanks in advance for supporting this library and digging into this issue so quickly. |
I just noticed that repo was private. Whoops. Just opened it up. |
Please give 10.0.1.3 a try, thanks! |
💥 that did it! Thanks so much! |
I'm using
middleman
which usesmiddleman-autoprefixer
which in turn usesautoprefixer-rails
. I'm trying to bump the version (trying to get PR together (https://github.com/rcode5/middleman-autoprefixer) which uses the new 10.x version of your gem. Even after #192 I'm seeing this:fileURLToPath ((execjs):4407:70): TypeError: fileURL.replace is not a function (ExecJS::ProgramError)
I can't figure out what might be missing but I wonder if there is some JS install or something that is required. Can you see this new version of the gem working outside of
rails
? I just wonder if themiddleman
environment is too far away fromrails
and now withrails
using webpack in many cases, if that could lead to this reported error.Here's my consumer project gemfile:
My branch of middleman-autoprefixer - gemspec
Any ideas what I need to do to get things working here?
Thanks, in advance.
The text was updated successfully, but these errors were encountered: