CA
Crawlee & Apify16mo ago
fascinating-indigo

latest version of node-ts does not work and latest commit on Github is ignored

I have been having issues for quite a while now with fixing node-ts that suddenly don't understand TypeScript files and hence won't compile them to javascript that node can run. I have managed to fix it locally using tsx instead of node-ts but since tsx is not supported on apify.com the run fails immediately. In addition when I look in the latest build log I can't recognize that the latest commit on my main branch from github is used. I have cleaned up every build and version so that only the latest build is present. The crawlee and apify docs have not given me some direction to investigate this. This has been a major headache for a while now so I hope I can get some guidance 🙏 Does anyone have similar bugs? 🤔
5 Replies
MEE6
MEE616mo ago
@Casper just advanced to level 12! Thanks for your contributions! 🎉
Saurav Jain
Saurav Jain16mo ago
hi casper, taking this to my team.
correct-apricot
correct-apricot16mo ago
Hey, could you share some more information 👀 (ideally run links would help a bunch :Pray:) Also tsx is definitely supported on the platform! We've even moved all our TS templates to it from ts-node
In addition when I look in the latest build log I can't recognize that the latest commit on my main branch from github is used.
Hmm, the commit used should be in the first lines of the build log :Cat_Peek_2: but if that commit doesn't match your latest commit, try also rebuilding without cache (also feel free to ping me with the links!)
fascinating-indigo
fascinating-indigoOP16mo ago
@vladdy Thanks I will look into the links and send them in direct message to you 🙂
correct-apricot
correct-apricot16mo ago
:bolbsalute:

Did you find this page helpful?