Giter Club home page Giter Club logo

compass-importer's People

Contributors

dantio avatar haithembelhaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

compass-importer's Issues

Using an old version of compass-mixins

Hi,
I wondered why you are using a private fork of compass-mixins?
And if it is actually required, I think it should be updated, they released 3 versions since your last update.
I basically was looking for the input placeholder mixin (compass/css3/user-interface) that was missing from the old version.
Thanks.

Check online status before requesting and downloading newer compass-mixins

I encountered slow render times when on a slow or non existing internet connection.
As it seems, your module is looking for newer compass mixins every time a sass compile is triggered:

index.js line: 21
request.head(githubUrl)
.on('response', function (res) {
if (oldHeaders.etag === res.headers.etag)
return done({file: 'compass-mixins-master/lib/' + url});

        download()
    });

.compass directory is missing

Hi,

I am using Grunt Sass and everytime I run my grunt task, it hangs saying "downloading compass", and no more. .

I've been trying to dig into the issue , and I found ".compass" folder is missing, therefore headers.json does not exist.

What create this folder and how? I have reinstalled many times using

npm install --save-dev compass-importer

, I am still gettting the same message u.u

Thanks

compass-importer": "^0.1.3"
npm v 2.14.12
Node v4.2.6

Error "Functions may not be defined within control directives or other mixins" afer upgrading node-sass to 3.5.3

Hello,

Afer upgrading node-sass to 3.5.3 I started getting the following error:

[Error running Gulp] node_modules/compass-importer/.compass/compass-mixins-master/lib/compass/functions/_lists.scss
Error: Functions may not be defined within control directives or other mixins.
        on line 81 of node_modules/compass-importer/.compass/compass-mixins-master/lib/compass/functions/_lists.scss
>>   @function compact($vars...) {
   --^

When using the old node-sass 3.4.1 there's no error, so I guess there's some incompatibility between these packages.

Error when importing compass mixins

I am using grunt-sass to render sass files.

When using inside scss file:
@import "compass/reset";

I get the follwoing error message:
verify compass version ...
>> file to import not found or unreadable: reset

TypeError: done is not a function

Hey, Why this error occur every time i try to compile. can u please help me out.
Im working with Angule-CLI
Node V4.4.5

G:\Workspaces\ng_testAppV2\node_modules\compass-importer\index.js:28
return done({file: resolve(libPath, path)})
^

TypeError: done is not a function
at Object.importer (G:\Workspaces\ng_testAppV2\node_modules\compass-importer\index.js:28:10)
at options.importer (G:\Workspaces\ng_testAppV2\node_modules\node-sass\lib\index.js:383:31)
at Object.module.exports.renderSync (G:\Workspaces\ng_testAppV2\node_modules\node-sass\lib\index.js:406:23)
at CompassPlugin.compile (G:\Workspaces\ng_testAppV2\node_modules\angular-cli\lib\broccoli\angular-broccoli-compass.js:43:23)
at G:\Workspaces\ng_testAppV2\node_modules\angular-cli\lib\broccoli\angular-broccoli-compass.js:31:12
at Array.forEach (native)
at CompassPlugin.build (G:\Workspaces\ng_testAppV2\node_modules\angular-cli\lib\broccoli\angular-broccoli-compass.js:29:24)
at G:\Workspaces\ng_testAppV2\node_modules\angular-cli\node_modules\broccoli-caching-writer\index.js:152:21
at lib$rsvp$$internal$$tryCatch (G:\Workspaces\ng_testAppV2\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (G:\Workspaces\ng_testAppV2\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (G:\Workspaces\ng_testAppV2\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (G:\Workspaces\ng_testAppV2\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1198:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)

Error while importing animation module.

There is an error while trying to import animation module:
@import "compass/css3/animation";

Results in:

>> file to import not found or unreadable: animation/core
>> Current dir: /[path]/node_modules/compass-importer/.compass/compass-mixins-master/lib/compass/css3/
>>   Line 2  Column 9  node_modules/compass-importer/.compass/compass-mixins-master/lib/compass/css3/_animation.scss

Can't resolve sprites

Using this in conjunction with Grunt yields the following error: File to import not found or unreadable: sprite/global/*.png..

Edit: Found out this is merely a polyfill for mixins, not spriting.

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.