How to Avoid 401 Errors While Installing Bit Components on Heroku

An unexpected error has occurred

Image for post
Image for post
$ npm login — registry=https://node.bit.dev — scope=@bit
@bit:registry=https://node.bit.dev/
//node.bit.dev/:_authToken=${BIT_NODE_TOKEN}
heroku config:add BIT_NODE_TOKEN=abc123def456

Written by

I develop websites for rock 'n' roll bands and get paid in sex and drugs. Previously Silva Artist Management, SoundCloud, and Songkick. Currently: Available

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store