Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
@Roy-Mustang Вы были правы. У меня действительно были эмодзи в скрипте Node.js. После их удаления я смог нормально загрузить его на сервер. Большое спасибо!