heroku / heroku-repo

Plugin for heroku CLI that can manipulate the repo
MIT License
689 stars 114 forks source link

Cannot find module 'tslib' #83

Closed brenogazzola closed 10 months ago

brenogazzola commented 6 years ago

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?

dmathieu commented 6 years ago

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

talkingtoaj commented 6 years ago

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