cli: Heroku throws error
I am getting the following exception whenever I type heroku
module.js:544
throw err;
^
Error: Cannot find module './node.js'
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 Object.<anonymous> (C:\Users\aksha\AppData\Local\heroku\client\node_modules\debug\src\index.js:9:20)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
I tried to reinstall the CLI but I still get the same error.
Update
I have this problem on Windows. Haven’t tested it on other OS.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 39 (15 by maintainers)
Thanks again for all your work on this issue. I really appreciate it, especially because I use the heroku cli dozens of times every day. ❤️
eventually a few other users reported this as well, I put some more instructions on https://github.com/heroku/cli/issues/653 and potentially shipped a fix for it
It seems fine now. But that’s how it always goes. If you don’t hear from me in a couple weeks then we can prolly close this.