slackapi / node-slack-interactive-messages

Slack Buttons, Menus, and Dialogs made simpler for Node
MIT License
133 stars 41 forks source link

shasum error #49

Closed bonorumetmalorum closed 6 years ago

bonorumetmalorum commented 6 years ago

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

Requirements

Bug Report

I am unable to install the packages in the install command due to a shasum error. I am unsure if this is an issue with my setup of npm/node but other packages do install with out any issues. Both Express and Body-parser were installed successfully when the commands were run individually.

Reproducible in:

@slack/interactive-messages version: - node version: 4.2.6 OS version(s): ubuntu 16.04 LTS

Steps to reproduce:

  1. run 'npm install --save @slack/interactive-messages' or 'npm install --save @slack/interactive-messages express body-parser'

Expected result:

expected to have the packages installed, all smooth like ;)

Actual result:

Linux 4.13.4-041304-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "@slack/interactive-messages" npm ERR! node v4.2.6 npm ERR! npm v3.5.2

npm ERR! shasum check failed for /tmp/npm-14277-af63f609/registry.npmjs.org/_40slack/interactive-messages/-/interactive-messages-0.3.0.tgz npm ERR! Expected: f83c0f7ceff699dd2916a84e8dcef3dedc092df0 npm ERR! Actual: 3c65d4dd6a4fe2dac530a9644528e979d1457bbb npm ERR! From: https://registry.npmjs.org/@slack/interactive-messages/-/interactive-messages-0.3.0.tgz npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /home/digital/Documents/projects/Livebot/npm-debug.log ➜ Livebot git:(master) ✗ npm install --save @slack/interactive-messages express body-parser npm ERR! Linux 4.13.4-041304-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "@slack/interactive-messages" "express" "body-parser" npm ERR! node v4.2.6 npm ERR! npm v3.5.2

npm ERR! shasum check failed for /tmp/npm-14636-8ca8c97f/registry.npmjs.org/_40slack/interactive-messages/-/interactive-messages-0.3.0.tgz npm ERR! Expected: f83c0f7ceff699dd2916a84e8dcef3dedc092df0 npm ERR! Actual: a563d3758e3e1c0beff3b7a6a2878a2c30797386 npm ERR! From: https://registry.npmjs.org/@slack/interactive-messages/-/interactive-messages-0.3.0.tgz npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /home/digital/Documents/projects/Livebot/npm-debug.log

Attachments:

Logs, screenshots, screencast, sample project, funny gif, etc.

bonorumetmalorum commented 6 years ago

I've got it to work using this command after installing Express and Body-parser individually. I am not sure what the issue is clearly, but I have it working now!

command: npm install hubot-interactive-messages --save

I removed the packages and installed them again using the installation command found on this repo. It has worked... I have no idea how this happened but it is most likely to do with me :sweat_smile:

Sorry about that :stuck_out_tongue: