Hi

I'm not really sure where to post this but perhaps it would be here.
Drupal is confused with socket.io for some reason, at least in osx and ubuntu.

# drush dis comment
Segmentation fault

Creating features with dependencies checked up also causes segmentation fault on apache logs.

root@bar:/var/www/foo/sites/all/modules/nodejs/node_modules# rm -r socket.io/
root@bat:/var/www/foo/sites/all/modules/nodejs/node_modules# drush dis comment
The following extensions will be disabled: comment
:

Comments

Anonymous’s picture

Title: segmentation fault caused by socket.io » document that the node.js parts of the module should be moved out of the module directory

yeah, i looked in to this a bit:

https://gist.github.com/beejeebus/d9e27e416646bb26204e

so, looks like a bug in php / drupal's regex to me. i think we need to document moving the node.js bits away from anywhere that drupal will look for modules.

gausie’s picture

Edit: I now understand what's going on here.

I'm having the same problem - is there any way to stop Drupal looking in certain folders?

Did you fix it some other way?

Yorgg’s picture

@gausie: I believe the issue is the .info files associated with nodejs's modules
You shouldn't need them after install so remove them from your install and you should be fine.

guilopes’s picture

Enter in node js folder and paste this command:

find node_modules/ -name '*.info' -type f -delete