cannot execute binary file exec format error windows bash

Viewed 5615

Am trying to deploy my node express app to heroku from my windows 10 os and am using the git bash terminal, but anytime i try to run the heroku command it returns this error

'/c/Users/user/AppData/Roaming/npm/node_modules/heroku-cli/bin/run: line 19: /c/Program Files/nodejs/node: cannot execute binary file: Exec format error'

Please does anyone know how i could solve this challenge?

PS: i ran the command as administrator on git bash

1 Answers
Related