LiveTL / LiveTL

Get live translations for YouTube streams, crowdsourced from multilingual viewers!

Home Page:https://livetl.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Nondeterministic builds

r2dev2 opened this issue · comments

Checklist

  • This is an issue for LiveTL, not Hyperchat. I will go to the Hyperchat repo to report an issue with Hyperchat.
  • This is an issue for the LiveTL web extension, not LiveTL iOS or LiveTL Android. I will go to the iOS or Android repo to report issues for those platforms.
  • This issue is not a matter of opinion. If it is, I will use the feature suggestion issue template.
  • I have checked for a duplicate or similar issue. I made sure to check closed issues as well.
  • I am still able to reproduce the issue after I reinstall the extension.
  • I have clear instructions to reproduce the bug, even on another machine.
  • I am not suggesting a feature. If I am, I will use the feature suggestion issue template.
  • By submitting this issue, you agree to follow our Code of Conduct

Describe the bug

Sometimes, yarn start will error out when building the extension and give the following error where it can't find many types and namespaces.

can't find types and namespaces

Steps To Reproduce

  1. yarn start

Expected behavior

It should always succeed but many times, it doesn't succeed.

What browsers are you seeing the problem on?

Other (Put it in the "Anything else?" section)

Anything else?

Nice app with an amazing dev team.

These errors appeared on my arch linux computer.

Have you ran yarn to check and install missing deps? The YT namespace is from @types/youtube.

Have you ran yarn to check and install missing deps? The YT namespace is from @types/youtube.

Yes, I ran yarn before this one and it said that I had all deps installed. I'll save the entire output the next time it happens, but I think some other types other than yt were missing as well.

I caught webpack being naughty again. Here's the log on pastebin.

This happens to me when I save and it tries to hot reload with an error elsewhere in the code. Does this ever happen on initial build? For me it doesn't, only on save in dev mode

I caught webpack being naughty again. Here's the log on pastebin.

Hmm... All those errors are for types from @types, which should work out of the box as long as the packages are installed.

I'm real confused why it would error if all the deps are installed properly.

haven't had this problem in a while so closing