Closed kmontag closed 1 year ago
Ah, looks like maybe the same as #1851
For anyone else wanting a quick fix, this seems to do the trick, though I'm not totally sure whether it has unintended side effects (place above require 'compass/import-once/activate'
in compass.rb
):
require 'compass/import-once/importer'
module Compass::ImportOnce::Importer
def find(uri, options, *args)
uri, force_import = handle_force_import(uri.gsub(/^\(NOT IMPORTED\) /, ''))
maybe_replace_with_dummy_engine(super(uri, options, *args), options, force_import)
end
end
Got this error on 22-oct-2016 after upgrading to Mac OS Sierra. I'm using compass.app https://github.com/KKBOX/compassapp/releases
Solution aported by @kmontag solved my problem
require 'compass/import-once/importer' module Compass::ImportOnce::Importer def find(uri, options, args) uri, force_import = handle_force_import(uri.gsub(/^(NOT IMPORTED) /, '')) maybe_replace_with_dummy_engine(super(uri, options, args), options, force_import) end end
Thank you very much.
I'm getting a nil error in
compass watch
when making changes in a certain order ifcompass-import-once
is activated. There seem to be a few things that can trigger it, but it's consistently reproducible using https://github.com/kmontag/compass-import-once-error by runningcompass watch
, and then:Here's the full error that pops up:
No error if the same changes are made without
compass-import-once
being activated.