windows - Unable to install heroku core plugins -


windows 8.1, 64b

last week worked.

whenever run heroku command tries install heroku core plugins, example:

c:\users\usr\documents\aptana3_workspace\mobile-site>heroku run installing core plugins heroku-apps, heroku-fork, heroku-git, heroku-local, heroku-run, heroku-status...  ?    module.js:338  ?        throw err;  ?        ^  ?  ?    error: cannot find module './bin/npm-cli.js'  ?        @ function.module._resolvefilename (module.js:336:15)  ?        @ function.module._load (module.js:286:25)  ?        @ module.require (module.js:365:17)  ?        @ require (module.js:384:17)  ?        @ object.<anonymous> (c:\users\usr\appdata\local\heroku\node-v4.1.1-windows-x86\lib\node_modules\npm\cli.js:2:1)  ?        @ module._compile (module.js:434:26)  ?        @ object.module._extensions..js (module.js:452:10)  ?        @ module.load (module.js:355:32)  ?        @ function.module._load (module.js:310:12)  ?        @ function.module.runmain (module.js:475:10)  !    `run` not heroku command.  !    perhaps meant `-h`, `2fa`, `auth`, `join`, `open`, `orgs`, `pg`, `ps` or `rake`.  !    see `heroku help` list of available commands.  c:\users\usr\documents\aptana3_workspace\mobile-site> 

while commands work, when showing error msg:

c:\users\usr\documents\aptana3_workspace\mobile-site>heroku restart installing core plugins heroku-apps, heroku-fork, heroku-git, heroku-local, heroku-run, heroku-status...  ?    module.js:338  ?        throw err;  ?        ^  ?  ?    error: cannot find module './bin/npm-cli.js'  ?        @ function.module._resolvefilename (module.js:336:15)  ?        @ function.module._load (module.js:286:25)  ?        @ module.require (module.js:365:17)  ?        @ require (module.js:384:17)  ?        @ object.<anonymous> (c:\users\usr\appdata\local\heroku\node-v4.1.1-windows-x86\lib\node_modules\npm\cli.js:2:1)  ?        @ module._compile (module.js:434:26)  ?        @ object.module._extensions..js (module.js:452:10)  ?        @ module.load (module.js:355:32)  ?        @ function.module._load (module.js:310:12)  ?        @ function.module.runmain (module.js:475:10) restarting dynos... failed  !    not have access app mobile-site.  c:\users\usr\documents\aptana3_workspace\mobile-site> 

i reinstalled heroku, searched web no success..

any ideas? thx.

the solution me was:

delete %localappdata%\heroku folder , try again (run heroku command)

i didn't think of this, didn't know folder existed- that's heroku support said- credit him :)

p.s. know %localappdata% write in console (windows)

echo %localappdata% 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -