“No such file or directory” but it exists

前端 未结 13 2034
南笙
南笙 2020-11-29 21:24

I simply want to run an executable from the command line, ./arm-mingw32ce-g++, but then I get the error message,

bash: ./arm-mingw32ce-g++: No s         


        
13条回答
  •  星月不相逢
    2020-11-29 22:10

    I just had this issue in mingw32 bash. I had execuded node/npm from Program Files (x86)\nodejs and then moved them into disabled directory (essentially removing them from path). I also had Program Files\nodejs (ie. 64bit version) in path, but only after the x86 version. After restarting the bash shell, the 64bit version of npm could be found. node worked correctly all the time (checked with node -v that changed when x86 version was moved).

    I think bash -r would've worked instead of restarting bash: https://unix.stackexchange.com/a/5610

提交回复
热议问题