ember-cli-materialize icon indicating copy to clipboard operation
ember-cli-materialize copied to clipboard

segfault after installing

Open eccegordo opened this issue 8 years ago • 8 comments

I have a small example repo that demonstrates a segmentation fault.

The project is using Ember 2.9 beta and glimmer 2. Also have an SVG logo component. Not sure if either of these is the cause or something specific to materialize addon.

Ember.js 2.9 beta1 Ember CLI 2.9 beta1

Steps to reproduce:

- Check out https://github.com/eccegordo/example-svg-logo
- npm install
- bower install
- npm start

Everything works normally

switch to problematic branch

- https://github.com/eccegordo/example-svg-logo/tree/materilize-segfault
- npm install
- bower install
- npm start 

segmentation fault

The only difference between master and materilize-segfault branches is that in the latter I ran

ember install ember-cli-materialize

eccegordo avatar Sep 13 '16 23:09 eccegordo

hmm seems to be related to node-sass but switching back and forth between branches seems to have fixed issue. Not sure if this will be reproducible on your end. Heisenbugs 😄

eccegordo avatar Sep 14 '16 00:09 eccegordo

If this is a new project, you'll probably want to use the v1 branch.

The seg fault should have been fixed on v1 and master though. It was an upstream issue with node-sass resolved over a month ago and brought in here (v1) and here (master), so it's odd that you are getting it still.

dustinfarris avatar Sep 14 '16 17:09 dustinfarris

ah, might be that master still pegs an old version of ember-materialize-shim which still brings in the old node-sass.

Using the v1 branch should fix this. I guess it should be fixed on master too, if anyone wants to do that.

dustinfarris avatar Sep 14 '16 17:09 dustinfarris

@dustinfarris is this still the best solution? I just added this package to a new project and can't run ember server anymore. I know that this package or a dependency is to blame, as when I switch to a branch without ember-cli-materialize, it works fine

mattcoker avatar Oct 10 '16 20:10 mattcoker

@mattcoker did you install the v1 branch?

ember install "mike-north/ember-cli-materialize#v1"
ember generate ember-cli-materialize

dustinfarris avatar Oct 12 '16 02:10 dustinfarris

HI @dustinfarris ,

The problem persists, I have done your steps and the result is:

ember install "mike-north/ember-cli-materialize#v1":

Installed packages for tooling via npm. WARNING: Could not figure out blueprint name from: "mike-north/ember-cli-materialize#v1". Please install the addon blueprint via "ember generate " if necessary. Installed addon package.

ember generate ember-cli-materialize:

installing ember-cli-materialize install addons ember-materialize-shim@~0.4.1, ember-cli-flash@^1.3.14, ember-gestures@~0.4.1 Installed packages for tooling via npm. Install failed. Could not find addon with name: ember-materialize-shim@~0.4.1.

it's frustrating...

ghost avatar Nov 02 '16 00:11 ghost

What version of ember-cli?

Sent from my iPhone

On Nov 1, 2016, at 8:39 PM, Jaider [email protected] wrote:

HI @dustinfarris ,

The problem persists, I have done your steps and the result is:

ember install "mike-north/ember-cli-materialize#v1":

Installed packages for tooling via npm. WARNING: Could not figure out blueprint name from: "mike-north/ember-cli-materialize#v1". Please install the addon blueprint via "ember generate " if necessary. Installed addon package.

ember generate ember-cli-materialize:

installing ember-cli-materialize install addons ember-materialize-shim@~0.4.1, ember-cli-flash@^1.3.14, ember-gestures@~0.4.1 Installed packages for tooling via npm. Install failed. Could not find addon with name: ember-materialize-shim@~0.4.1.

it's frustrating...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

dustinfarris avatar Nov 02 '16 22:11 dustinfarris

ember cli version: 2.9.1 node version: 6.9.1

ghost avatar Nov 02 '16 23:11 ghost