mechio / takana

Takana lets you see your SCSS and CSS style changes live, in the browser, as you type them
http://takana.io
MIT License
1.11k stars 61 forks source link

Updating Node-Sass to support Susy & Breakpoint #79

Closed JamesJosephFinn closed 8 years ago

JamesJosephFinn commented 9 years ago

Here's the Takana printout:

[21:39:28] [WARN] - error rendering /Users/jamesfinn/.takana/scratch//scss/styles.scss : { file: '/Users/jamesfinn/Documents/larrys-site/bower_modules/breakpoint-sass/stylesheets/breakpoint/parsers',
  line: 198,
  message: ' expected \'in\' keyword in @each directive' }

So, I un@imported the Breakpoint library, and then it threw the same error for Susy:

message: ' expected \'in\' keyword in @each directive' }

So, I un@imported Susy as well, and it was back to green lights.

I figure it's the outdated node-sass in takana:

  1. Do you think updating node-sass would correct the errors being thrown by Takana?
  2. If so, is it even possible?
ob7 commented 9 years ago

probably would fix if you know how. I'v ready elsewhere that installing a earlier verison of node will make it work.

ob7 commented 9 years ago

node version manager: https://github.com/creationix/nvm

billybrown commented 8 years ago

+1

I have Takana working using nvm (using node version 0.12.7), but Takana is still using an older version of node-sass (looks like Takana is still at 1.0.1 and the most recent release of node-sass is 3.3.3), so we don't have access to some of the newer libsass features.

nc commented 8 years ago

Hey, It's been a while since this was posted. Just wanted to let you know Takana has been updated to the latest node-sass in the latest release. Updating should fix these issues.