Closed CashWilliams closed 8 years ago
I had glanced over the NPM Install section https://github.com/cthos/atom-gitbook#npm-install thinking it was a different way of installing, not continuing steps.
However, running apm install
fatals as well:
$ apm install
Installing modules ✗
> buffertools@2.1.3 install /Users/cash/.atom/packages/atom-gitbook/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools
> node-gyp rebuild
CXX(target) Release/obj.target/buffertools/buffertools.o
SOLINK_MODULE(target) Release/buffertools.node
> unicode@0.6.1 postinstall /Users/cash/.atom/packages/atom-gitbook/node_modules/slug/node_modules/unicode
> node install.js
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Users/cash/.atom/packages/atom-gitbook/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools/build/Release/buffertools.node
Expected in: dynamic lookup
dyld: Symbol not found: _node_module_register
Referenced from: /Users/cash/.atom/packages/atom-gitbook/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools/build/Release/buffertools.node
Expected in: dynamic lookup
Did some searching and tried:
cd ~/.atom/packages/atom-gitbook
rm node_modules
xcode-select --install
apm rebuild
apm install
Still same error
hum... so npm install
worked.
Pretty sure it's related to what I blogged about here: https://www.alextheward.com/blog/apm-rebuild/
tl;dr I can only get it to rebuild on OSX using npm rebuild
with the same version of node that Atom has bundled with it, namely 0.10.35
.
Atom Version: 1.5.3 System: Mac OS X 10.11.3
Stack Trace
Failed to load the atom-gitbook package
Commands
Config
Installed Packages