Cli: Can't run Procfile after heroku-cli/6.13.12 update

Created on 14 Aug 2017  Â·  3Comments  Â·  Source: heroku/cli

After updating Heroku through Homebrew, runing:

heroku local -f Procfile

result in:

â–¸ MODULE_NOT_FOUND: Cannot find module 'foreman/lib/procfile.js'

And the logs are :

2017/08/14 09:23:43 Error: Cannot find module 'foreman/lib/procfile.js'
    at Function.Module._resolveFilename (module.js:489:15)
    at Function.Module._load (module.js:439:25)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at run (/usr/local/Cellar/heroku/6.13.12/libexec/lib/node_modules/heroku-cli/node_modules/heroku-local/commands/start.js:19:20)
    at run.next (<anonymous>)
    at onFulfilled (/usr/local/Cellar/heroku/6.13.12/libexec/lib/node_modules/heroku-cli/node_modules/co/index.js:65:19)
    at /usr/local/Cellar/heroku/6.13.12/libexec/lib/node_modules/heroku-cli/node_modules/co/index.js:54:5
    at Promise (<anonymous>)
    at co (/usr/local/Cellar/heroku/6.13.12/libexec/lib/node_modules/heroku-cli/node_modules/co/index.js:50:10)

Versions

> sw_vers 
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion:   16G29

> echo $SHELL
/usr/local/bin/fish

> fish -v
fish, version 2.6.0

> brew -v
Homebrew 1.3.1
Homebrew/homebrew-core (git revision 527a1; last commit 2017-08-14)

> node -v
v6.10.2

> heroku -v
heroku-cli/6.13.12 (darwin-x64) node-v8.3.0

Most helpful comment

with homebrew you can update with brew upgrade heroku when they merge our PR or you can update now with brew upgrade heroku --HEAD

All 3 comments

Same here.

$sw_vers
ProductName:    Mac OS X
ProductVersion: 10.12.6
BuildVersion:   16G29

$ echo $SHELL
/bin/bash

$ /bin/bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
Copyright (C) 2007 Free Software Foundation, Inc.

$brew -v
Homebrew 1.3.1
Homebrew/homebrew-core (git revision a1af; last commit 2017-08-14)

$ node -v
v8.3.0

$ heroku -v
heroku-cli/6.13.12 (darwin-x64) node-v8.3.0

Same. Pretty much identical setup as @dlibanori, save that I'm using ZSH 5.2 rather than Bash. This started after updating to heroku-cli/6.13.12 this morning.

with homebrew you can update with brew upgrade heroku when they merge our PR or you can update now with brew upgrade heroku --HEAD

Was this page helpful?
0 / 5 - 0 ratings