heroku-repo icon indicating copy to clipboard operation
heroku-repo copied to clipboard

Cannot find module 'tslib'

Open brenogazzola opened this issue 7 years ago • 2 comments

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?

brenogazzola avatar Jun 28 '18 23:06 brenogazzola

That looks like a CLI issue rather than one with specifically this plugin. Ping @heroku/cli

dmathieu avatar Jun 29 '18 06:06 dmathieu

Oh yep, I've started getting that error also. I agree, it's probably a CLI issue

talkingtoaj avatar Jul 07 '18 12:07 talkingtoaj