question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slackin heroku deployment broken?

See original GitHub issue

Hi, if I wanna deploy slackin at heroku I get following error message.

` -----> Node.js app detected -----> Creating runtime environment

   NPM_CONFIG_LOGLEVEL=error
   NPM_CONFIG_PRODUCTION=true
   NODE_VERBOSE=false
   NODE_ENV=production
   NODE_MODULES_CACHE=true

-----> Installing binaries engines.node (package.json): 6.11.1 engines.npm (package.json): unspecified (use default)

   Resolving node version 6.11.1...
   Downloading and installing node 6.11.1...
   Using default npm version: 3.10.10

-----> Restoring cache Skipping cache restore (not-found) -----> Building dependencies Installing node modules (package.json)

   > slackin@0.14.0 postinstall /tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d
   > gulp
   
   [17:32:13] Requiring external module babel-core/register
   [17:32:13] Using gulpfile /tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/gulpfile.babel.js
   [17:32:13] Starting 'transpile'...
   [17:32:13] Starting 'assets'...
   
   events.js:160
   throw er; // Unhandled 'error' event
   ^
   Error: Plugin 19 specified in "/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-preset-es2015/index.js" provided an invalid property of "name"
   at Plugin.init (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/plugin.js:127:13)
   at Function.normalisePlugin (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:167:12)
   at /tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:197:30
   at Array.map (native)
   at Function.normalisePlugins (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:173:20)
   at OptionManager.mergeOptions (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:271:36)
   at OptionManager.mergePresets (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:325:16)
   at OptionManager.mergeOptions (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:287:12)
   at OptionManager.addConfig (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:221:10)
   at OptionManager.findConfigs (/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/node_modules/babel-core/lib/transformation/file/options/option-manager.js:370:30)
   
   npm ERR! Linux 3.13.0-128-generic
   npm ERR! argv "/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/.heroku/node/bin/node" "/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/.heroku/node/bin/npm" "install" "--unsafe-perm" "--userconfig" "/tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/.npmrc"
   npm ERR! node v6.11.1
   npm ERR! npm  v3.10.10
   npm ERR! code ELIFECYCLE
   npm ERR! slackin@0.14.0 postinstall: `gulp`
   npm ERR! Exit status 1
   npm ERR!
   npm ERR! Failed at the slackin@0.14.0 postinstall script 'gulp'.
   npm ERR! Make sure you have the latest version of node.js and npm installed.
   npm ERR! If you do, this is most likely a problem with the slackin package,
   npm ERR! not with npm itself.
   npm ERR! Tell the author that this fails on your system:
   npm ERR!     gulp
   npm ERR! You can get information on how to open an issue for this project with:
   npm ERR!     npm bugs slackin
   npm ERR! Or if that isn't available, you can get their info via:
   npm ERR!     npm owner ls slackin
   npm ERR! There is likely additional logging output above.
   
   npm ERR! Please include the following file with any support request:
   npm ERR!     /tmp/build_d50a0995bdb4ba8f20bedc55c938322f/rauchg-slackin-f3e3b3d/npm-debug.log

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues here:
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys
   
   If you're stuck, please submit a ticket so we can help:
   https://help.heroku.com/
   
   Love,
   Heroku

! Push rejected, failed to compile Node.js app. ! Push failed `

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

7reactions
frkn-aydncommented, Aug 21, 2017

you can use community inviter 😃 Thats much more easy 😃 http://communityinviter.com

0reactions
cmo-mecommented, Aug 27, 2017

My deploy works fine. I don’t think the issue is with Slackin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Heroku Deployment: missing_scope #380 - rauchg/slackin
The Heroku deployment builds perfectly and it looks as though it's ... tokens will at some point be deprecated, breaking all instances.
Read more >
Heroku ChatOps (Slack Integration)
Heroku ChatOps allows you to collaborate with your team using chat tools, like Slack. Pipelines and Github deployment notifications and ...
Read more >
Heroku + node.js error (Web process failed to bind to $PORT ...
I have my first node.js app (runs fine locally) - but I am unable to deploy it via heroku (first time w/ heroku...
Read more >
Three Ways to Integrate Slack With Heroku - DZone
Deploying a New Release. Giving feature team members the ability to see when the application is deployed to a Heroku Dyno has a...
Read more >
Build a GitHub+Slack Integration, Deploy to Heroku
... web server that posts a message to Slack when a pull request is opened in a GitHub repo in your organization. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found