sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.9k stars 352 forks source link

i have a issues with dart-sass #2147

Closed peterPNG closed 9 months ago

peterPNG commented 9 months ago

[peterg@AtomicLabs ~]$ sass --version /opt/dart-sass/sass: line 20: /opt/dart-sass/src/dart: cannot execute binary file: Exec format error /opt/dart-sass/sass: line 20: /opt/dart-sass/src/dart: Success

I got a similar error after downloading dart-sass from github. I had downloaded sass with ruby, and I successful installed it but after seeing the error saying it's no longer supported I opted for dart-sass. But now I get the above error which i don't understand.

ntkme commented 9 months ago

Most likely the binary you downloaded does not match your platform.

What is the output of:

uname -a

And what's the output of:

file /opt/dart-sass/src/dart

And:

ldd /opt/dart-sass/src/dart
peterPNG commented 9 months ago

@AtomicLabs ~]$ uname -a Linux AtomicLabs 5.15.71-1-MANJARO #1 SMP PREEMPT Wed Sep 28 11:24:27 UTC 2022 x86_64 GNU/Linux

This is just printing gibberish file /opt/dart-sass/src/dart

for this command this is the output ldd /opt/dart-sass/src/dart not a dynamic executable

ntkme commented 9 months ago

@peterPNG Replied in another thread, that you need x64 version, not arm64 version.