GithubHelp home page GithubHelp logo

Error on adding project folder about koala HOT 6 CLOSED

oklai avatar oklai commented on May 16, 2024
Error on adding project folder

from koala.

Comments (6)

sheabunge avatar sheabunge commented on May 16, 2024

I've found that the error only occurs when adding a folder which has a Compass config.rb file directly in the folder. Adding a parent folder which holds subfolders which hold config.rb files works fine. Removing the config.rb file from one of the folders which previously threw an error works fine, so it's definitely an issue with the Compass integration.

from koala.

oklai avatar oklai commented on May 16, 2024

Can you share your config.rb file.

from koala.

sheabunge avatar sheabunge commented on May 16, 2024

Okay, I've found out that the error only occurs when using a Compass extension, such as Compass Normalize.

config.rb that works:

# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "js"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false


# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass

config.rb that fails:

# Require any additional compass plugins here.
require 'compass-normalize'

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "js"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false


# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass

As you can see, the only difference between the two files is the require 'compass-normalize', which is installed btw. It also fails with other compass extensions such as susy.

from koala.

oklai avatar oklai commented on May 16, 2024

thanks, I found the reason, the program does not correctly read this require 'compass-normalize', I will fix it.

from koala.

sheabunge avatar sheabunge commented on May 16, 2024

Cool, thanks. I really love using your app; great job!

from koala.

oklai avatar oklai commented on May 16, 2024

koala v1.0.3-beta1 had fix this bug.

from koala.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.