hyperjumptech / monika

Monika is a command line application to monitor every part of your web app using a simple YAML configuration file. Get alert not only when your site is down but also when it's slow.
https://monika.hyperjump.tech
MIT License
599 stars 66 forks source link

Failed to build tarballs #1313

Closed haricnugraha closed 1 month ago

haricnugraha commented 2 months ago

Describe the bug Failed to build tarballs. More info https://github.com/hyperjumptech/monika/actions/runs/10003848111/job/27651660920.

To Reproduce Steps to reproduce the behavior:

Run npm run pack-tarballs.

Expected behavior Tarballs built successfully.

Screenshots

Screenshot 2024-07-19 at 1 57 18 PM

Desktop (please complete the following information):

sapiderman commented 2 months ago

ooooh deja vu. I think becuase we updated to the new oclif version we've had some p*cking problems before.

poke: @suyono3484 @syamsudotdev #1255 #1311

suyono3484 commented 2 months ago

Confirmed. I can reproduce the problem. image

Looking at the error message, the command npm run pack-tarballs doesn't trigger tsc -b, hence missing all the .js files. I tried to run npm run prepack before issuing npm run pack-tarballs and it worked. image

Should we update the workflow? @haricnugraha

haricnugraha commented 2 months ago

Yes, we should update it because it prevents us from releasing to Snapcraft.