getting error /usr/bin/env: sh: No such file or directory when running command play

后端 未结 5 1357
伪装坚强ぢ
伪装坚强ぢ 2020-12-28 12:37

I am a beginner on Play framework . I just extract Play framework files and extracted them and gave the path of play directory in $PATH global variable. After t

5条回答
  •  庸人自扰
    2020-12-28 13:08

    This error usually happens if the script has windows line endings instead of unix line endings.

    Try running dos2unix on the script and try running your command again to see if you get the same error.

    dos2unix [filename]
    

提交回复
热议问题