kriszyp / nodules

Asynchronous URL-based CommonJS module loader for Node with automated dependency resolution and module reloading
http://www.persvr.org/
197 stars 20 forks source link

Module loading not working #17

Closed kw4n closed 13 years ago

kw4n commented 13 years ago

I'm running 0.4.0 stable Node and I just cloned nodules. When I try to run basic pintura app, I get this: (node) process.compile should not be used. Use require('vm').runInThisContext instead. Downloading http://github.com/kriszyp/commonjs-utils/zipball/v0.2.2 Downloading http://github.com/kriszyp/pintura/zipball/v0.2.5 Downloading http://github.com/kriszyp/multi-node/zipball/v0.2.2 Downloading http://github.com/kriszyp/perstore/zipball/v0.2.4 Downloading http://github.com/kriszyp/transporter/zipball/v0.2.2 Downloading http://github.com/kriszyp/persevere/zipball/master Downloading https://github.com/kriszyp/persevere/zipball/master Downloading https://github.com/kriszyp/perstore/zipball/v0.2.4 Downloading https://github.com/kriszyp/commonjs-utils/zipball/v0.2.2 Downloading https://github.com/kriszyp/multi-node/zipball/v0.2.2 Downloading https://github.com/kriszyp/pintura/zipball/v0.2.5 Downloading https://github.com/kriszyp/transporter/zipball/v0.2.2

node.js:116
    throw e; // process.nextTick error, or 'error' event on first tick
    ^
Error: Error: 400
at /Development/tools/nodules/lib/nodules.js:775:9
at notify (/Development/tools/nodules/lib/nodules-utils/promise.js:147:27)
at notifyAll (/Development/tools/nodules/lib/nodules-utils/promise.js:136:7)
at [object Object].<anonymous> (/Development/tools/nodules/lib/nodules-utils/promise.js:176:5)
at ClientRequest.<anonymous> (/Development/tools/nodules/lib/nodules-utils/node-http-client.js:68:12)
at ClientRequest.emit (events.js:42:17)
at HTTPParser.onIncoming (http.js:1502:9)
at HTTPParser.onHeadersComplete (http.js:87:31)
at Client.onData [as ondata] (http.js:1380:27)
at Client._onReadable (net.js:654:27) failed to load jar:http://github.com/kriszyp/commonjs-utils/zipball/v0.2.2!/lib/settings.js
at Object.<anonymous> (/Development/tools/nodules/lib/nodules.js:433:12)
kriszyp commented 13 years ago

Haven't yet upgraded Nodules to 0.4. Will hopefully get that done soon.

kw4n commented 13 years ago

Ok. I just did some naive benchmarks with multi-node and I'm actually getting worse performance with multiple processes with Node 0.2.5 so I'm really interested to see if 0.4.0 has improved performance.