CargoSense / dart_sass

Install and run Dart Sass using Elixir.
https://hex.pm/packages/dart_sass
MIT License
102 stars 23 forks source link

(RuntimeError) dart_sass is not available for osname: :openbsd #35

Closed joyboy67 closed 1 year ago

joyboy67 commented 1 year ago

Hello, I'm trying to use _dartsass with Phoenix 1.7.6 on OpenBSD but I get this error:

** (Mix) Could not start application dart_sass: exited in: DartSass.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (RuntimeError) dart_sass is not available for osname: :openbsd
            (dart_sass 0.6.0) lib/dart_sass.ex:252: DartSass.platform/0
            (dart_sass 0.6.0) lib/dart_sass.ex:131: DartSass.bin_paths/0
            (dart_sass 0.6.0) lib/dart_sass.ex:151: DartSass.bin_version/0
            (dart_sass 0.6.0) lib/dart_sass.ex:70: DartSass.start/2
            (kernel 8.5.3) application_master.erl:293: :application_master.start_it_old/4
mcrumm commented 1 year ago

This package is a thin wrapper around sass/dart-sass releases, so if one of those release assets works for you we can make it work in our wrapper, otherwise there is little we can do.

joyboy67 commented 1 year ago

Hello @mcrumm thank you for your response, I installed the npm package sass (1.63.6) it's working for my OpenBSD

mcrumm commented 1 year ago

Closing this for now