trunk icon indicating copy to clipboard operation
trunk copied to clipboard

SCSS pipeline error

Open rongcuid opened this issue 1 year ago • 3 comments

I tried to use this template: https://github.com/sycamore-rs/sycamore-trunk-gitpod-template and get the following error:

OptionParser::InvalidOption: invalid option: --no-source-map
Did you mean?  sourcemap
  Use --trace for backtrace.
2022-07-29T20:46:54.313789Z ERROR ❌ error
error from HTML pipeline

Caused by:
    0: error from asset pipeline
    1: sass call returned a bad status

It looks like the SCSS/SASS pipeline has some problems.

rongcuid avatar Jul 29 '22 20:07 rongcuid

EDIT FOR FUTURE USERS: Uninstall Ruby Sass. Trunk will automatically download Dart Sass, which is more compatible.

simbleau avatar Aug 01 '22 20:08 simbleau

Is Trunk using some Ruby package for SASS pipeline? I might want to check the version used.

A guess:

$ sass --version                                                                                 
Ruby Sass 3.7.4

rongcuid avatar Aug 02 '22 00:08 rongcuid

Is Trunk using some Ruby package for SASS pipeline? I might want to check the version used.

A guess:

$ sass --version                                                                                 
Ruby Sass 3.7.4

I was having the same issue. I switched from Ruby Sass to Dart Sass and it worked for me

zperk13 avatar Aug 06 '22 05:08 zperk13

Closing, stale. If you still need assistance you can re-open another issue.

simbleau avatar Sep 09 '22 16:09 simbleau