Giter Site home page Giter Site logo

Comments (5)

glebpopoff avatar glebpopoff commented on May 29, 2024 1

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.

evansolomon avatar evansolomon commented on May 29, 2024

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.

roastercode avatar roastercode commented on May 29, 2024

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.

hardreggaecafe avatar hardreggaecafe commented on May 29, 2024

@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.

hardreggaecafe avatar hardreggaecafe commented on May 29, 2024

I figured out by myself.
sudo npm install npm -g
should works.

from hubot-slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.