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.

Cannot get it to work with build

See original GitHub issue

It runs perfectly on dev but after I build my project I always get the error in the browser:

TypeError: Failed to construct 'URL': Invalid URL

Tracking it back to the generated .js file where the init() method relies on import.meta.url to construct the url of the wasm file. But that doesn’t seem to be available after building.

Interestingly I get the exact same issue when I build your Vue 3 example.

Is there something I’m missing?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
lencxcommented, Apr 13, 2021

@audacioustux This has not yet been achieved, can be included in the plan, please stay tuned to the project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Routing doesn't work after doing react build - node.js
When checking the app(after build) through nodeJs, only the default routing () works. Remaining routes throw Cannot GET error in the browser.
Read more >
Build doesn't work on an Ubuntu server · Issue #1133 - GitHub
I have tried installing and re-installing multiple times, using both npm and yarn to install the modules and to run the scripts. Description....
Read more >
Can't get Android build to work - Mobile - CircleCI Discuss
Hi… I'm new to Circle CI. I've written what's supposed to be a simple script to simply build an Android app that's been...
Read more >
Kodi Not Working on Firestick? Try these Fixes (Updated 2022)
Point it at your Fire TV Stick, and you can make your Kodi device a bit less feverish. Addon shows error on open....
Read more >
Common Build Problems - Travis CI Docs
Restart a build that used to be green, the last known working one, for instance. If that build suddenly fails too, there's a...
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