i'm getting started with node-webkit, and receive the following error:
[8499:0623/160709:INFO:CONSOLE(359)] "Uncaught Error: dlopen(/Users/james/src/me/tmp/pty/node_modules/pty.js/build/Release/pty.node, 1): Symbol not found: _environ
Referenced from: /Users/james/src/me/tmp/pty/node_modules/pty.js/build/Release/pty.node
Expected in: dynamic lookup
", source: module.js (359)
index.html:
<script>
var pty = require('pty.js');
var term = pty.fork('sh');
console.log(term.process);
i am using pty.js[1], a c++ module which i rebuilt with `nw-gyp rebuild --target=0.6.0`. from the wiki[2], i should "ensure libraries your module links to are universal builds" - how do i do that? i am on osx 10.7.5, using node 0.10