Cli: Error: Cannot find module './spinners'

Created on 23 Nov 2017  路  7Comments  路  Source: heroku/cli

Just saw this while logging in. Note that it didn't actually prevent me from logging in.

~/git/nice-registry/heroku-log-s3 master
$ heroku login --sso
Enter your organization name: github-enterprise
Opening browser for login... done
Enter your access token (typing will be hidden): ************************************
Logged in as [email protected]
module.js:544
    throw err;
    ^

Error: Cannot find module './spinners'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at new SpinnerAction (/Users/z/.local/share/heroku/client/node_modules/cli-engine/node_modules/cli-ux/lib/action/spinner.js:20:23)
    at CLI.get action [as action] (/Users/z/.local/share/heroku/client/node_modules/cli-engine/node_modules/cli-ux/lib/index.js:31:60)
    at CLI.error (/Users/z/.local/share/heroku/client/node_modules/cli-engine/node_modules/cli-ux/lib/index.js:51:14)
    at process.handleErr (/Users/z/.local/share/heroku/client/node_modules/cli-engine/lib/cli.js:34:21)
    at Object.onceWrapper (events.js:254:19)
    at process.emit (events.js:159:13)

~/git/nice-registry/heroku-log-s3 master 27s
$ heroku -v
heroku-cli/6.14.38-9bfc11a (darwin-x64) node-v9.2.0

~/git/nice-registry/heroku-log-s3 master
$ heroku whoami     
[email protected]

Most helpful comment

this is now resolved in 6.14.39. You may see it happen once if your CLI updates to this version in the background

All 7 comments

Seeing this too

Me as well

Having this problem when running:
heroku run rake db:migrate

I had the same issue. Disappeared after re-installing heroku

this is a known issue we're working on a fix for. It's related to updates and should only happen once after an update (if at all)

this is now resolved in 6.14.39. You may see it happen once if your CLI updates to this version in the background

Thanks, @jdxcode 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omarcostahamido picture omarcostahamido  路  4Comments

fishcharlie picture fishcharlie  路  8Comments

kmulqueen picture kmulqueen  路  3Comments

mame picture mame  路  5Comments

DennisTsiang picture DennisTsiang  路  7Comments