-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR TypeError: Cannot read property '_id' of undefined #338
Comments
I am having the same issue after upgrade to Rocketchat server 3.8.0. The dockerfile in the master also doesn't compile:
|
Reporting the same issue here with Rocket.Chat
|
So it appears that the variable Replacing all occurrences of |
This fork https://github.com/DeviaVir/hubot-rocketchat uses a patched version of FROM node:14.15.1
MAINTAINER Rocket.Chat Team <[email protected]>
RUN npm install -g coffeescript -g yo generator-hubot && \
useradd hubot -m
USER hubot
WORKDIR /home/hubot
ENV BOT_NAME "rocketbot"
ENV BOT_OWNER "No owner specified"
ENV BOT_DESC "Hubot with rocketbot adapter"
#ENV EXTERNAL_SCRIPTS=
RUN cd /home/hubot
RUN yo hubot --owner="$BOT_OWNER" --name="$BOT_NAME" --description="$BOT_DESC" --defaults && \
sed -i /heroku/d ./external-scripts.json && \
sed -i /redis-brain/d ./external-scripts.json && \
npm install hubot-scripts && npm install git+https://github.com/DeviaVir/hubot-rocketchat.git
COPY bots /home/hubot/scripts # copy bots into docker image, alternativly mount them into the conainer
CMD bin/hubot -n $BOT_NAME -a rocketchat |
Having same issue with Rocket.Chat
|
@imperativa28 as said above in thread, message is now an array.. :-( In driver.js, respondToMessage function in node_modules/@rocket.chat/sdk/dist/lib/driver.js around line 357 you just have to add, before error line
|
Hello, I recently updated to rocket chat version 3.8 and hubot has stopped working. Here is my logs:
The text was updated successfully, but these errors were encountered: