metaskills / less-rails

:-1: :train: Less.js For Rails

Home Page:http://github.com/metaskills/less-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error evaluating function `data-uri`: Optional dependency "mime" is required for .svg

awh-tokyo opened this issue · comments

Someone else came up with this same error in Issue #99 and I just haven't been able to figure it out. I've been banging my head against the wall.

I can see (from strace) that it's trying to load mime.js from less-2.6.0 and failing, but I don't think that's supposed to even be there:

stat("/usr/local/rvm/gems/ruby-2.4.1@rgf/gems/less-2.6.0/lib/less/js/lib/mime.js", 0x7ffea6b78720) = -1 ENOENT (No such file or directory)

Can anybody come up with any reason why svg paths are not being loaded?

Any way to reproduce this?