trunk
trunk copied to clipboard
SCSS pipeline error
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.
EDIT FOR FUTURE USERS: Uninstall Ruby Sass. Trunk will automatically download Dart Sass, which is more compatible.
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
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
Closing, stale. If you still need assistance you can re-open another issue.