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.

Hey @Borewit 👋 I finally got around to testing this package, sorry for the delay! 😄

I’m a little confused about the parser loading. So normally the parsers are lazy loaded, but how would that work in a browser? It doesn’t seem to work for me (ie. I’m getting Cannot find module './mpeg/index' in the browser console). So what’s the solution here? Copy all the parser files into the my javascript directory? Or manually import all the parsers I need into my bundle and then write a custom loadParser function?

Also, would it be possible to have a static browser build that works straight away without a javascript bundler? I’m not using a javascript bundler in version two of Diffuse. Totally cool if not.

Thanks! ✌️

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
icidassetcommented, Jan 6, 2019

@Borewit Thanks! 💯

0reactions
Borewitcommented, Jan 7, 2019

Good to know it is working @alexbcberio.

I have seen that error, on the cancel, before. If it is bothering you, please report it in a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning parser/current is loading parser/ruby22
In my case, I was running an old version of Rubocop (which relies on the parser gem). Removing/updating rubocop or whatever gem is...
Read more >
Parser issue #9700 - GitHub
warning: parser/current is loading parser/ruby27, ... 1.12.1 (using Parser 3.0.1.0, rubocop-ast 1.4.1, running on ruby 2.7.2 x64-mingw32).
Read more >
Building the DOM faster: speculative parsing, async, defer and ...
In 2017, the toolbox for making sure your web page loads fast includes everything from minification and asset optimization to caching, CDNs, ...
Read more >
Python JSON Parsing using json.load() and loads() - PYnative
Understand use of json.loads() and load() to parse JSON. Read JSON encoded data from a file or string and convert it into Python...
Read more >
Load and Export Layout Data
block_type (str) – If there's no block_type column in the CSV file, you must pass in a block_type variable such that layout parser...
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