Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

module.exports issue installing via npm on Mac OSX #2

Closed
aaronblondeau opened this issue Aug 29, 2011 · 2 comments
Closed

module.exports issue installing via npm on Mac OSX #2

aaronblondeau opened this issue Aug 29, 2011 · 2 comments

Comments

@aaronblondeau
Copy link

In order to get contextify working on my mac I had to go into

/lib/contextify.js

and change
module.exports = require('../build/default/contextify').wrap;
to
module.exports = require('../build/Release/contextify').wrap;

It installed fine on Linux so it is probably a platform specific issue ...

npm = 1.0.27
node = 0.5.5

@brianmcd
Copy link
Owner

Thanks very much for reporting the problem and solution. I will push a fix for this tonight.

brianmcd added a commit that referenced this issue Aug 29, 2011
The issue was that node 0.5.x puts addons in build/Release, while 0.4.x
puts them in build/default.  Now we check both.
@brianmcd
Copy link
Owner

This should be fixed now in 0.0.4, which is tagged and published in npm. It looks like it was actually a difference with node 0.4.x vs. 0.5.x. 0.4 puts things in build/default, and 0.5 in build/Release.

Thanks again for the report!

Haifen pushed a commit to Haifen/contextify that referenced this issue Jan 22, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants