cmbot icon indicating copy to clipboard operation
cmbot copied to clipboard

Where do i put the new directory? and error messages

Open ghost opened this issue 12 years ago • 3 comments

I used the code provided in the readme and named it chattrap.js and put it in a folder named chattrap. Where do i put this folder? Because every time I put node chattrap.js (of course i navigate the cmd to the folder chattrap) it gives the an error "Cannot find module 'xm12.js' " Can you please point me in the right direction....I'm on Windows Vista if that helps

ghost avatar Jul 29 '13 02:07 ghost

The folder can be anywhere, but you should run "npm install cmbot" from that folder to make sure all the dependencies are installed. I'm not sure why you're getting that error, though - there is no module named xm12.js that cmbot uses.

atomjack avatar Jul 29 '13 03:07 atomjack

Is there anyway i could manually install this because the npm throws a lot of errors and when i type node chattrap.js it says cannot find module cmbot

ghost avatar Jul 29 '13 17:07 ghost

Not really, there are a lot of dependencies so the best way is to figure out how to get npm install cmbot to work. Do some searches on the errors that returns and see if that helps.

atomjack avatar Jul 29 '13 18:07 atomjack