question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest release is completely broken

See original GitHub issue

It looks like there was an update to the minification script which caused all variables to be renamed, which probably was to save some extra bytes in the package. However, it renamed all the exports, and it also renamed “exports” as well, so now the package exports an empty object, which causes anything using preact to fail completely. Here’s how the main export looks, built from the latest release directly:

For now, we are pinning to 8.2.7, which fixes the problem. Probably something should be done about this quickly, as it’s a fairly critical issue.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
developitcommented, Apr 27, 2018

@leeoniya I’d certainly be open to it - Sam did a bunch of experimentation and got things set up with GCC a while back in #564.

1reaction
leeoniyacommented, Apr 27, 2018

might also want to consider switching to https://github.com/google/closure-compiler-js, it’s much slower (several seconds vs dozens of ms) but the bundles end up smaller and with fewer regressions, in my experience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

latest release completely broken :( · Issue #3 · declarativesystems ...
INFO:kivy:[CutBuffer ] cut buffer support enabled INFO:__main__:starting docker_init in own thread DEBUG:docker.auth.auth:Trying paths: ...
Read more >
LATEST 2022 VERSION BROKEN ALL
Auto complete is broken. ALL IS BROKEN! ... This issue is read only, because it has been in the Closed - Fixed state...
Read more >
Firefox Release 97 8th Feb Completely Broken on My System ...
Long story short, today I received v97. Firefox would no longer open websites. Settings would not open. about:config would not open.
Read more >
Screentime is unusably broken on iOS 16 - Apple Community
Announcement: Introducing the latest version of the world's most advanced ... It is infuriating to see Apple release completely broken software - how...
Read more >
Windows 10 completely broken - Microsoft Community
Unplug power and remove battery, press and hold power button for 30 seconds to release all power from circuitry, plug back in and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found