node-actors icon indicating copy to clipboard operation
node-actors copied to clipboard

Cannot find module 'uuid'

Open rafanami opened this issue 14 years ago • 4 comments

When I try to execute the example, the following error is occurring:

node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module 'uuid' at Function._resolveFilename (module.js:334:11) at Function._load (module.js:279:25) at Module.require (module.js:357:17) at require (module.js:368:17) at Object. (/Users/rafanami/Sites/example/node_modules/actors/lib/actors.js:14:10) at Object. (/Users/rafanami/Sites/example/node_modules/actors/lib/actors.js:108:4) at Module._compile (module.js:432:26) at Object..js (module.js:450:10) at Module.load (module.js:351:31) at Function._load (module.js:310:12)

Then I cut the example only on requiring the actors module, and the same exception stack occurred. Maybe is a bug because of the renaming of the uuid library (now node-uuid?).

rafanami avatar Dec 12 '11 15:12 rafanami

Hey

Yep.

This library was mostly an experiment to wrap my head around amqp and play a bit with node and coffeescript. If you want to send a pull request, I'll merge it in :)

flashingpumpkin avatar Dec 14 '11 21:12 flashingpumpkin

Also it's probably completely outdated

flashingpumpkin avatar Dec 14 '11 21:12 flashingpumpkin

Hi Alen, I've fixed the UUID problem, so I it's now working. And the other thing that I've banged my head is that a valid RabbitMQ setup is needed so the mailbox queues can be accessed by the actors. Sorry for the question, but how do I send you a pull request? Thanks and kind regards

rafanami avatar Dec 15 '11 01:12 rafanami

Fork the repo, add your fixes, come back to this repo, click on pull requests :)

flashingpumpkin avatar Dec 15 '11 16:12 flashingpumpkin