guidone / node-red-contrib-chatbot

Visually build a full featured chat bot for Telegram, Facebook Messenger, Whatsapp and Slack with Node-RED. Almost no coding skills required.
http://red-bot.io
938 stars 190 forks source link

Cant install getting 404 on slack/client ? #48

Closed mackelito closed 7 years ago

mackelito commented 7 years ago

When running npm install node-red-contrib-chatbot I get this..

pi@raspberrypi:~/.node-red $ npm install node-red-contrib-chatbot
npm ERR! 404 Not Found
npm ERR! 404 
npm ERR! 404 'slack/client' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'node-red-contrib-chatbot'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 4.4.34-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-contrib-chatbot"
npm ERR! cwd /home/pi/.node-red
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/.node-red/npm-debug.log
npm ERR! not ok code 0
guidone commented 7 years ago

It worked on my machine, perhaps it has something to do with Raspberry, are you able to install manually the library?

$ npm install @slack/client
mackelito commented 7 years ago
npm ERR! git clone git@github.com:slack/client Cloning into bare repository '/home/pi/.npm/_git-remotes/git-github-com-slack-client-e5c14a51'...
npm ERR! git clone git@github.com:slack/client Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
npm ERR! git clone git@github.com:slack/client Permission denied (publickey).
npm ERR! git clone git@github.com:slack/client fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:slack/client 
npm ERR! git clone git@github.com:slack/client Please make sure you have the correct access rights
npm ERR! git clone git@github.com:slack/client and the repository exists.
npm ERR! addLocal Could not install slack/client
npm ERR! Error: ENOENT, stat 'slack/client'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.4.34-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "@slack/client"
npm ERR! cwd /home/pi/.node-red
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path slack/client
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/.node-red/npm-debug.log
npm ERR! not ok code 0

So I guess it´s more of a permissions issue.

guidone commented 7 years ago

@mackelito yes. Honestly the slack support is very weak, I've not been using it for a while and it turned out is not working at all. I'm working on a complete refactor of slack support