trestle icon indicating copy to clipboard operation
trestle copied to clipboard

Error with trestle/support stylesheet import.

Open JamesDullaghan opened this issue 6 years ago • 3 comments

Getting an error with trestle.

File to import not found or unreadable: trestle/support.

@import "trestle/support";

I'm using gem 'rails', '~> 6.0.0.rc1'

Is there anything that needs to be done here? Turns out this may be coming from the auth plugin. Will check there.

JamesDullaghan avatar Dec 12 '19 19:12 JamesDullaghan

Assuming you are not trying to do this @import in your own CSS code (which did work in previous versions), then check that you have updated trestle-auth to the latest version (0.3.0).

spohlenz avatar Dec 14 '19 05:12 spohlenz

@JamesDullaghan or @spohlenz
Was there any update on this? I'm receiving the same error. However I'm not using the trestle-auth plugin. Tried adding in the trestle-auth gem to see if they had some kind of dependency but still receiving the error. Screen Shot 2020-05-07 at 12 46 58 pm

Error only occurs after I add the trestle-search gem (application is fine if not using that gem)

Note: Using ruby 2.5.1, rails 6.0.2, and trestle is the most up to date version

Bryan1029 avatar May 07 '20 03:05 Bryan1029

@Bryan1029 Please try updating trestle-search to 0.4.2. Assuming you are on Trestle 0.9.3 then that should hopefully fix that issue.

spohlenz avatar May 07 '20 03:05 spohlenz