Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Internal Hubot issues

Open infinitnet opened this issue 9 years ago • 6 comments

Rocket.Chat Version: 0.51.0

Looks like Coffee scripts aren't loading with internal hubot after adding them via GUI.

I20170208-13:40:25.480(0) [Wed Feb 08 2017 13:40:25 GMT+0000 (UTC)] WARNING A script has tried registering a HTTP route while the HTTP server is disabled with --disabled-httpd. 
I20170208-13:40:25.486(0) Loaded hubot-help/src/help.coffee 
I20170208-13:40:25.489(0) Loaded hello.coffee 
I20170208-13:40:25.490(0) Loaded zen.coffee 
I20170208-13:40:25.548(0) can't load 9gag.coffee 
I20170208-13:40:25.549(0) { [Error: Cannot find module 'soupselect'] code: 'MODULE_NOT_FOUND' } 
I20170208-13:40:25.613(0) can't load remind.coffee 
I20170208-13:40:25.614(0) { [Error: Cannot find module 'lodash'] code: 'MODULE_NOT_FOUND' } 

Ideas?

infinitnet avatar Feb 08 '17 13:02 infinitnet

The problem is that the system is not running npm install on the scripts. We need a way to upload scripts to be saved on the local file system, and be able to run npm install on each.

engelgabriel avatar Feb 08 '17 14:02 engelgabriel

Did you find a way to manually resolve this? There are a lot of scripts we would like to use and customize using the internal hubot.

Valiantiam avatar Mar 31 '17 16:03 Valiantiam

I didn't look into this further and kept using an external Hubot. Maybe @engelgabriel could provide the steps to manually resolve this - I'd be interested in this too. Also not sure why this got tagged as a support request when this issue actually means that the internal Hubot feature is broken. This should at least be considered a bug with low priority.

infinitnet avatar Mar 31 '17 16:03 infinitnet

I agree. It states we should be able to use any of the scripts located in that repo, yet only a few actually work.

Valiantiam avatar Mar 31 '17 16:03 Valiantiam

I'd also be interested in a manual workaround. Just trying to load a few scripts with dependencies. Installed via snap in ubuntu server

gregs007 avatar Apr 12 '17 21:04 gregs007

Duplicated by #6640 - closing this one because the other has more specific history.

timkinnane avatar Mar 20 '18 03:03 timkinnane