Coder Social home page Coder Social logo

Comments (19)

quaertym avatar quaertym commented on August 16, 2024

Working on it.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

Bump. Also broken for 0.0.44. Now build hangs.

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

Do you see EMFILE error?

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

Yes. That is the error I am seeing.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

I don't know if this helps, but his plugin and registry look slightly different than yours. Maybe something changed...

https://github.com/rwjblue/ember-cli-esnext/blob/master/index.js

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

See issue here g13013/broccoli-compass#22. I am thinking of a solution.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

@g13013 How does this help? I'm trying to use your suggestion, to use pickFiles, but I still get too many files open.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

@quaertym I bumped. ember serve does not start. Here is the output,

$ ember serve --proxy http://localhost:8080/
version: 0.0.44
Proxying to http://localhost:8080/
Livereload server on port 35729
Serving on http://0.0.0.0:4200

It never moves past this--to reporting the slowest trees and won't serve any requests.

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

@shwoodard Please try with v0.0.14, EMFILE error should be gone.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

@quaertym Nope. Now the server throws an error,

$ ember serve
version: 0.0.44
Livereload server on port 35729
Serving on http://0.0.0.0:4200
Error: Command failed: 
Command failed: 
Error: Command failed: 
    at ChildProcess.exithandler (child_process.js:647:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Socket.<anonymous> (child_process.js:966:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

@quaertym Scratch that. I needed to remove my compassOptions from Brocfile.js,

-var app = new EmberApp({
-  compassOptions: {
-    exclude: ['tmp/**', 'vendor/**', 'node_modules/**', 'bower_components/**']
-  }
-});
+var app = new EmberApp();

But...now ember serve just hangs again.

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

I think there is another problem please repeat upgrade steps for ember-cli. Here if you need reference https://github.com/stefanpenner/ember-cli/releases

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

@quaertym Ran ember init again and made sure everything was right. No dice. Still hangs.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

@quaertym what versions of node and npm are you running?

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

My ember -v output:

version: 0.0.44
node: 0.10.30
npm: 1.4.26

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

Do you use images? Fonts? How do you have that setup?

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

I have app/styles/fonts directory, no images.

from ember-cli-compass-compiler.

shwoodard avatar shwoodard commented on August 16, 2024

I fixed it. Brocfile.js,

var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var mergeTrees = require('broccoli-merge-trees');
var pickFiles = require('broccoli-static-compiler');

var app = new EmberApp({
  compassOptions: {
    appDir: 'app',
    sassDir: 'styles',
    httpPath: '/assets/'
  }
});
...

// imports

...

var fontsTree = pickFiles('app', {
   srcDir: '/',
   files: ['fonts/**/*.{eot,svg,ttf,woff}', 'images/**/*.{png,jpg}'],
   destDir: '/assets/'
});

module.exports = mergeTrees([app.toTree(), fontsTree], {overwrite: true});

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

Glad you fixed it. Closing the issue.

from ember-cli-compass-compiler.

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.