Latest Blog Post

Atom Gitbook: APM Rebuild on OSX

There's an issue with the Atom editor and the package I've been working on, atom-gitbook.

Currently it's not hosted on the offical package repositories (mostly because I'm not done with it). So, at the moment it has to be installed with either apm install or by doing an npm install followed by an apm rebuild so that the native modules are properly built.

For reasons I yet do not fully understand, sometimes, the OS X environment gets so borked, that while npm install succeeds, the apm rebuild fails with the same error every time:

dyld: lazy symbol binding failed: Symbol not found: _node_module_register

The only way I've been able to figure out how to get it to work is install node 0.10.35, and do the npm install with that. Afterwards, it all works fine, presumably since it was built with the same version of node that apm uses internally.

I'll look into it further, but it's been bothering me for some time.