Comments (5)
Make sure to install the module globally: sudo npm install -g hubot-slack --save
I was dealing with the same issue and installing the module globally solved it.
from hubot-slack.
You need to have the main hubot module as a dependency. The Hubot docs have detailed instructions for setting on up: https://github.com/github/hubot/tree/master/docs
from hubot-slack.
Hi, I got that error too and do the sudo npm install -g hubot-slack --save
:~/hubot$ sudo npm install -g hubot-slack --save
[sudo] password for aurelien:
npm http GET https://registry.npmjs.org/hubot-slack
npm http 304 https://registry.npmjs.org/hubot-slack
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/slack/client
npm http 304 https://registry.npmjs.org/lodash
npm http 404 https://registry.npmjs.org/slack/client
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:108:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 4.7.6-100.fc23.x86_64
npm ERR! command "node" "/bin/npm" "install" "-g" "hubot-slack" "--save"
npm ERR! cwd /home/aurelien/hubot
npm ERR! node -v v0.10.42
npm ERR! npm -v 1.3.6
npm ERR! type non_object_property_load
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/aurelien/hubot/npm-debug.log
npm ERR! not ok code 0
from hubot-slack.
@evansolomon Hi I've got same errors above( @aurelien-git ). No matter how much I tried to install hubot-slack adapter, I failed.
How should I do?
Here's related info.
hubot 2.19.0
npm 1.3.6
coffee 1.11.1
from hubot-slack.
I figured out by myself.
sudo npm install npm -g
should works.
from hubot-slack.
Related Issues (20)
- Get the last reply in a thread HOT 4
- @slack/client is no longer developed, and its dependency "ws" has a security vulnerability HOT 2
- Replace RTM API with Event API for hubot slack adapter HOT 5
- Change the default settings to "useRtmConnect: true"
- Hubot failing to set up with error: Response not OK: method_deprecated HOT 4
- Problem setting up slack token HOT 4
- @slack/client dependency "async" has a security vulnerability HOT 2
- Best Interior Designers in Noida
- Can not trigger listener sometimes. HOT 6
- After SlackClient#send(), I can not receive message sometimes HOT 5
- DEBUG Received file_shared message from: undefined, file_id: F03PMLTMBNE HOT 4
- How to HOT 1
- unable to get response from hubot HOT 3
- App user who is initiating action is identified as channel instead of App name HOT 5
- Port hubot-slack away from @slack/client? HOT 2
- Rtm.start not getting replaced by rtm.connect HOT 6
- slack bot respond only once in the thread message HOT 3
- RTMClient failed to connect HOT 15
- hubot@>4.0.0 Cannot load adapter HOT 11
- Deleted Message Event HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hubot-slack.