Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault ember serve #319

Closed
marclundgren opened this issue Apr 21, 2016 · 7 comments
Closed

segmentation fault ember serve #319

marclundgren opened this issue Apr 21, 2016 · 7 comments
Labels

Comments

@marclundgren
Copy link

marclundgren commented Apr 21, 2016

Hello. I'm trying to install ember-cli-materialize in a fresh new ember app, but the server crashes immediately with a seg fault.

Here's my repo that demonstrates the seg fault.

Serving on http://localhost:4200/
[1]    7351 segmentation fault  ember s

Here's my scripts to build the new app and install the addon:

➜  ember new materialize-app
installing app
  create .bowerrc
  create .editorconfig
  create .ember-cli
  create .jshintrc
  create .travis.yml
  create .watchmanconfig
  create README.md
  create app/app.js
  create app/components/.gitkeep
  create app/controllers/.gitkeep
  create app/helpers/.gitkeep
  create app/index.html
  create app/models/.gitkeep
  create app/resolver.js
  create app/router.js
  create app/routes/.gitkeep
  create app/styles/app.css
  create app/templates/application.hbs
  create app/templates/components/.gitkeep
  create bower.json
  create config/environment.js
  create ember-cli-build.js
  create .gitignore
  create package.json
  create public/crossdomain.xml
  create public/robots.txt
  create testem.js
  create tests/.jshintrc
  create tests/helpers/destroy-app.js
  create tests/helpers/module-for-acceptance.js
  create tests/helpers/resolver.js
  create tests/helpers/start-app.js
  create tests/index.html
  create tests/integration/.gitkeep
  create tests/test-helper.js
  create tests/unit/.gitkeep
  create vendor/.gitkeep
Successfully initialized git.
Installed packages for tooling via npm.
Installed browser packages via Bower.
➜  test cd materialize-app
➜  materialize-app git:(master) ember install ember-cli-materialize
Installed packages for tooling via npm.
installing ember-cli-materialize
  install bower package materialize
  cached https://github.com/Dogfalo/materialize.git#0.97.6
Installed browser packages via Bower.
? Overwrite app/templates/application.hbs? Yes, overwrite
? Overwrite config/environment.js? Yes, overwrite
  create app/styles/app.scss
  overwrite app/templates/application.hbs
  overwrite config/environment.js
  install package ember-composability
  install package ember-radio-button
  install package ember-new-computed
  install package ember-key-responder
  install package ember-modal-dialog
  install package ember-cli-sass
  install package ember-legacy-views
Installed packages for tooling via npm.
Installed packages for tooling via npm.
[email protected] node_modules/ember-radio-button
Installed packages for tooling via npm.
Installed packages for tooling via npm.
Installed packages for tooling via npm.
Installed packages for tooling via npm.
Binary downloaded and installed at /Users/marc/Dev/kinvey/test/materialize-app/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/vendor/darwin-x64-47/binding.node
"/Users/marc/Dev/kinvey/test/materialize-app/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/vendor/darwin-x64-47/binding.node" exists.
 testing binary.
Binary is fine; exiting.
Installed packages for tooling via npm.
Installed addon package.
➜  materialize-app git:(master) ✗ ember s
Deprecation warning: sassOptions should be moved to your ember-cli-build
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
[1]    7351 segmentation fault  ember s

Here's my ember -v

➜  materialize-app git:(master) ✗ ember -v
ember-cli: 2.5.0
node: 5.10.0
os: darwin x64

Am I doing something wrong?

@stonehouse
Copy link

I have the same issue.

I think its related to node-sass
sass/node-sass#1107

@mike-north
Copy link
Owner

@mike-north
Copy link
Owner

@egosapien @marclundgren - I'm working on a fix, but travis-ci is acting up for some reason. For now, just change your ember-cli-sass dependency target to

mike-north/ember-cli-sass#5e0c40ace35ef185e78f9ea921a5e3847958bc0c
see:

this.addPackageToProject('ember-cli-sass', 'mike-north/ember-cli-sass#5e0c40ace35ef185e78f9ea921a5e3847958bc0c'),

@marclundgren
Copy link
Author

thanks @mike-north

@ivanhueso
Copy link

Having same issue,

screen shot 2016-04-22 at 4 40 25 pm
Best,
Ivan

@mike-north
Copy link
Owner

Fixed by merging #320. Preparing to cut a new release

@stonehouse
Copy link

Really appreciate this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants