Can't use apm install after last update


#1

Typing ‘apm install’ into a terminal throws the error…

“/c/Users/xander/AppData/Local/atom/bin/…/app-1.14.0-beta0/resources/cli/apm.sh: line 3: /c/Users/xander/AppData/Local/atom/bin/…/app-1.14.0-beta0/resources/cli/…/app/apm/apm.sh: No such file or directory”

Not sure why. The apm.sh file just contains the default:

"$(dirname “0")/../app/apm/apm.sh" "@”


#2

Does the app-1.14.0-beta0/resources/app/apm/ directory contain an apm.sh? If so, what does it say?

It might also help to try the command from a cmd prompt. I don’t know that the .sh scripts are necessarily tested on Windows, even through Linux-like shells.


#3

Changing
"$(dirname "$0")/../app/apm/apm.sh" "$@"
to
"$(dirname "$0")/../app/apm/bin/apm" "$@"
will get it to work.

This strikes me as something that would break in Mac and Linux environments, too.