error with example
~/local/lib/node/nodules/example$ node ../lib/nodules.js (node) process.compile should not be used. Use require('vm').runInThisContext instead. Downloading http://github.com/kriszyp/commonjs-utils/zipball/master
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Array.prototype.toString is not generic failed to load jar:http://github.com/kriszyp/commonjs-utils/zipball/master!/lib/json-schema.js
at Object.
same here
seems like my prob was that npm just offers an old version...solved after update
I was experiencing the same issue, using a newer version of nodules than the one provided by NPM also solved this issue for me. However, then there was a new thing:
Error: Error: Target path lib/json-schema.js not found in archive http://github.com/kriszyp/commonjs-utils/zipball/master
I manually added a new subdirectory named lib and moved json-schema.js there, then at least there was no error message - although I'm still not quite sure if it actually worked. The result I get when I execute node ../lib/nodules.js in example is now the following:
We can access modules within the local package using top level ids, and from here we can use a relative reference: true The latest value from sibling is 444 [object Object] This indicates that we are the main/entry module
Does that mean nodules is set up correctly? As you might guess, I'm quite new to it and not sure to expect from the example ...