CharlieHess / slack-poker-bot

A bot that deals Texas Hold'em games in Slack
MIT License
1.66k stars 207 forks source link

Cannot find module 'babel/register' #19

Closed kordless closed 9 years ago

kordless commented 9 years ago

I've been trying to build a Dockerfile based deployment of this for the past hour and can't get past this error when running. I'm using the latest version of NodeJS for the server. I've also tried to do a:

npm cache clean
npm install -g babel
kordless commented 9 years ago

It appears that npm install babel needs to be run in the directory, as well as other dependencies. I'm adding these to the Dockerfile now.

kordless commented 9 years ago

Here's the list of requirements:

cd /poker/
npm install babel
npm install underscore-plus
npm install rx
npm install slack-client
npm install poker-evaluator
npm install text-table
npm install lwip
npm install imgur
npm install promisify-node
npm install uuid

I'll clean this up in a bit for the container based deployment.