Jack Murphy
Jack Murphy

Reputation: 3030

Dart libsass compiles correctly but will not run

I've follow the instructions for dart libsass at: https://github.com/oddrationale/dart_libsass

The compile step completes correctly. However - when i try and execute sassd.dart i get the following:

dart bin/sassd.dart ~/projects/web_apps_dart/lib/client/components/picker/picker.scss ~/Desktop/test.css

Cannot find extension library'package:libsass/libsass.dart': error: line 10 pos 1: library handler failed
import 'dart-ext:libsass/src/sass_extension';
^

Cannot find initialization function in extension'package:libsass/libsass.dart': error: line 10 pos 1: library handler failed
import 'dart-ext:sass_extension';
^

sass_extension.cc exists at ~/lib/src/sass_extension.cc

Question: How do we correctly import the sass_extions.cc file in recent builds of Dart?

Upvotes: 2

Views: 49

Answers (1)

Dariel Dato-on
Dariel Dato-on

Reputation: 225

I'm the author/maintainer of dart_libsass.

I got your bug report on GitHub and resolved the issue there. The issue was with the build script not the sass_extension.cc file itself. If you have any other issues, let's continue the discussion on the GitHub issues page. Thanks!

Upvotes: 1

Related Questions