heroku-pg-extras: Every command fails with "ENOENT: spawn command ENOENT"
Hi,
every command run results in following output:
ENOENT: spawn command ENOENT
For example:
> heroku pg:calls -r production
▸ ENOENT: spawn command ENOENT
Some debugging information:
> heroku plugins
=== Installed Plugins
heroku-pg-extras@1.0.3
> ruby --version
ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
Many thanks
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 24 (5 by maintainers)
I fixed the problem with tasklist ENOENT. Heroku has to be run in my case in administrator mode. I had to run CMD as administrator then all works as it should.
Hi I have the same issue as @isaacwagithub . My windows has tasklist.exe at windows/system32. I tried to reinstall heroku and then I was able to use herooku – version but after “heroku login” ENOENT is back.
@kudratov you didn’t read the solution properly. Include the system32 folder: C:\Windows\System32
Hi even i had this issue from past 3 days . i was working in windows machine . when ever i need to deploy i was moving ubuntu machine & deploying . i was not understanding what exactly the issue causing this . help me in resolving the issue in windows machine .