Comments (14)
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.
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.
@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.
Ah yes, sorry that's a reference to broccoli-sass. I've updated the
tarball.
from ember-cli-sass.
@tonycoco I'm closing this issue. Reopen it if you're still having issues.
from ember-cli-sass.
We're getting this error again: https://travis-ci.org/ilios/frontend/builds/49666398
from ember-cli-sass.
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.
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.
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.
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.
@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.
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.
@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.
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 @import
s) 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)
- Exclusion Doesn't Work in passthrough
- Git tags missing
- feature request: import SCSS from another npm module HOT 4
- Default SASS implementation HOT 12
- 8.0.1 breaking app HOT 1
- Please provide a changelog HOT 3
- Up for adoption? HOT 12
- Bug: incorrect options handling causes broccoli-funnel error
- includePaths doesn't recognise node_modules in yarn workspace HOT 1
- Going from 10.0.0 to 10.0.1 breaks our build HOT 1
- SASS rebuilding time is very high HOT 2
- Update addon section
- [bug] sass funnel being rebuilt on files that are not (.scss|.css|.sass)
- What is correct way to use dependencies on both of addon and dummy app? HOT 1
- Reopening #133
- Production builds produce invalid CSS HOT 1
- broccoli sass source maps outdated HOT 4
- [QUESTION] Should the app add the scss from the addon too?
- Does not work with Embroider HOT 5
- Multiple css outputs after outputPaths is removed? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-sass.