heroku-repo
heroku-repo copied to clipboard
Cannot find module 'tslib'
After installing the plugin the cli now complains about tslib when running any commands and doesn't recognize the repo.
$ brew uninstall --force heroku
Uninstalling heroku... (16,804 files, 43MB)
$ rm -rf ~/.local/share/heroku
$ rm -rf ~/Library/Caches/heroku
$ brew install heroku
🍺 /usr/local/Cellar/heroku/7.5.0_1: 17,923 files, 44.4MB
$ heroku plugins:install heroku-repo
Installing plugin heroku-repo... installed v1.0.11
breno-macbook:festalab brenogazzola$ heroku help
(node:33240) [MODULE_NOT_FOUND] @oclif/plugin-legacy: Plugin heroku-repo: Error: Cannot find module 'tslib'
/Users/brenogazzola/.local/share/heroku/node_modules/heroku-repo
CLI to interact with Heroku
VERSION
heroku/7.5.4 darwin-x64 node-v10.5.0
$ heroku help repo
(node:34204) [MODULE_NOT_FOUND] @oclif/plugin-legacy: Plugin heroku-repo: Error: Cannot find module 'tslib'
/Users/brenogazzola/.local/share/heroku/node_modules/heroku-repo
› Error: command repo not found
Any tips on how to fix this?
That looks like a CLI issue rather than one with specifically this plugin. Ping @heroku/cli
Oh yep, I've started getting that error also. I agree, it's probably a CLI issue