lifepillar / ASMake

An AppleScript build library
10 stars 3 forks source link

Cannot execute `asmake install` #6

Open jrjsmrtn opened 1 year ago

jrjsmrtn commented 1 year ago

asmake install fails with a execution error: Could not open file: Impossible to open file « ASMake.applescript » as the content text encoding cannot be determined error. (my Mac is in french, thus the error message is translated)

$ git clone https://github.com/lifepillar/ASMake.git
$ cd ASMake
$ ./asmake install
Clonage dans 'ASMake'...
remote: Enumerating objects: 1021, done.
remote: Counting objects: 100% (1021/1021), done.
remote: Compressing objects: 100% (406/406), done.
remote: Total 1021 (delta 596), reused 1017 (delta 592), pack-reused 0
Réception d'objets: 100% (1021/1021), 414.29 Kio | 1.47 Mio/s, fait.
Résolution des deltas: 100% (596/596), fait.
Fail: Task failed
./asmake: execution error: Could not open file: Impossible d’ouvrir le fichier « ASMake.applescript » car l’encodage de texte de son contenu ne peut pas être déterminé. (-2700)

I also tried to install using osascript:

$ osascript asmake install
Fail: Task failed
asmake: execution error: Could not open file: Impossible d’ouvrir le fichier « ASMake.applescript » car l’encodage de texte de son contenu ne peut pas être déterminé. (-2700)
jrjsmrtn commented 1 year ago

System info is:

lifepillar commented 1 year ago

Try opening ASMake.applescript in Script Editor and save it. Then, try asmake install again. Does that help?