Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling sass files #2

Open
milikicn opened this issue Mar 11, 2016 · 1 comment
Open

Error compiling sass files #2

milikicn opened this issue Mar 11, 2016 · 1 comment

Comments

@milikicn
Copy link

I have followed the instructions for setting up and starting the application.

  1. installed sassc

MacBook-Pro:salava nikola$ brew install sassc
Warning: sassc-3.3.2 already installed

  1. issued migration script (although this is not related to sass compilation)
  2. issued translation script

When I start the develop process, I get the following errors:

MacBook-Pro:salava nikola$ lein develop
[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/badge.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/badge.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/core.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/core.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/factory.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/factory.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/file.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/file.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/gallery.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/gallery.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/page.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/page.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

[11:06:47] /Users/nikola/Documents/programming/salava/src/scss/user.scss
--> /Users/nikola/Documents/programming/salava/target/generated/public/css/user.css
dyld: Library not loaded: /usr/local/opt/libsass/lib/libsass.0.dylib
Referenced from: /usr/local/bin/sassc
Reason: image not found

Elapsed time: 511.613743 msecs [Total time]
There were errors compiling some of the stylesheets.
Watching directory src/scss/
Figwheel: Starting server at http://localhost:3449
Figwheel: Watching build - dev
Compiling "target/generated/public/js/salava.js" from ["src/cljs" "src/cljc" "src/dev-cljs"]...
Successfully compiled "target/generated/public/js/salava.js" in 27.627 seconds.
Figwheel: Starting CSS Watcher for paths ["target/generated/public/css"]

The problem is that is searches for sassc files in /usr/local/opt/libsass/, but they are not stored there.

MacBook-Pro:salava nikola$ brew ls sassc
/usr/local/Cellar/sassc/3.3.2/bin/sassc

@ajk
Copy link
Member

ajk commented Mar 18, 2016

I don't use a Mac so unfortunately I can't really help you with homebrew. Scss compilation is done with a Leiningen plugin lein-scss and it says there that other CLI compilers should work. Maybe try the Ruby gem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants