Giter Club home page Giter Club logo

Comments (14)

simonexmachina avatar simonexmachina commented on July 20, 2024

I think this is a problem with node-sass that some other guys on my team
hit. Let me investigate and I'll get back to you. I'm guessing you're using
Linux?​

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

I just created a little test project and the following works for me:

@import "bourbon";
@import "neat-helpers";
@import "neat";

Here's a tarball which you can use to run on your machine. Just expand it, run npm install and broccoli build dist to test.

from ember-cli-sass.

tonycoco avatar tonycoco commented on July 20, 2024

@aexmachina what is in var sass = require('../../../index');? Tried your tarball but couldn't run the build step.

Thanks for the help!

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

Ah yes, sorry that's a reference to broccoli-sass. I've updated the
tarball.​

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

@tonycoco I'm closing this issue. Reopen it if you're still having issues.

from ember-cli-sass.

jrjohnson avatar jrjohnson commented on July 20, 2024

We're getting this error again: https://travis-ci.org/ilios/frontend/builds/49666398

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

This is definitely an issue with node-sass, ember-cli-sass is a thin wrapper around node-sass (via broccoli-sass - also a thin wrapper).

from ember-cli-sass.

jemgold avatar jemgold commented on July 20, 2024

I'm getting this with 3.1.0.

$ ember serve
version: 0.2.0
Livereload server on port 35729
Serving on http://localhost:4200/

zsh: segmentation fault  ember s

The app compiles fine (apart from the scss, obviously) if I take ember-cli-sass out of my package.json. I guess this is related to the node-sass bug, but I thought using 3.1.0 would fix it.

Have tried rm -rf node_modules folder, npm cache clean, switching versions of node (0.10.30 & 0.12.0) and nothing.

Maybe my package.json file is useful? Just picking up this project again after it being dormant for a few months - upgrading from [email protected] to 0.2.0, so a bunch of things have just been updated, but this is the only thing that seems broken.

{
  "name": "paz-ember",
  "version": "0.0.0",
  "description": "Small description for paz-ember goes here",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "lint": "jshint app config",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "broccoli-asset-rev": "^2.0.0",
    "ember-cli": "^0.2.0",
    "ember-cli-app-version": "0.3.2",
    "ember-cli-babel": "^4.0.0",
    "ember-cli-dependency-checker": "0.0.8",
    "ember-cli-htmlbars": "0.7.4",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-qunit": "0.3.9",
    "ember-cli-sass": "3.1.0",
    "ember-cli-uglify": "1.0.1",
    "ember-data": "1.0.0-beta.15",
    "ember-export-application-global": "^1.0.2",
    "ember-validations": "^2.0.0-alpha.3",
    "express": "^4.8.5",
    "glob": "^4.4.2",
    "precommit-hook": "^1.0.7"
  },
  "precommit": [
    "lint"
  ]
}

🆘

from ember-cli-sass.

jemgold avatar jemgold commented on July 20, 2024

More digging, looks like the node-sass bug was reintroduced in 2.0.1 which broccoli-sass is using. Will see if I can override it later. sass/node-sass#467 (comment)

from ember-cli-sass.

darioghilardi avatar darioghilardi commented on July 20, 2024

I still have this issue, right after installing ember-cli-sass version 4.0.0-beta6. I managed to get it working using v3.3.1.

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

@darioghilardi this is certainly going to be a node-sass issue, have you tried using [email protected]? You should be able to get this by reinstalling ember-cli-sass.

from ember-cli-sass.

jfrux avatar jfrux commented on July 20, 2024

Cannot get past this error and if I switch things around I'm getting the infamous Bus error: 10
I'm running latest io.js and brew install libsass --HEAD

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

@joshuairl, there's really nothing ember-cli-sass can do about this - it's a problem with node-sass. Here's what I'd do:

  • npm install --save [email protected]
  • If that doesn't work then try rm -rf node_modules && npm cache clean && npm install
  • If you're still having problems then post your issue on node-sass

Good luck!

from ember-cli-sass.

mlunoe avatar mlunoe commented on July 20, 2024

I had the same issue in my ember project (with yarn workspaces - not sure if that is relevant to the issue).

I tried clearing out tmp and node_modules folders, but was still receiving the SIGSEGV error.
Running the build with the DEBUG=* flag I found that it died right after compiling scss files from a certain folder. If I deleted the whole folder, where it was dying (containing scss files that were doing @imports) and keeping other folders with similar scss files, it would build.

I was never able to debug the libsass process itself (so deeply nested in the node_modules), but after cloning a new instance of my repository (moving over my .git-folder) everything worked again.

I hope this helps others in a similar situation!

from ember-cli-sass.

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.