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.

Console error in Firefox

See original GitHub issue

Hi, I’m getting the following error when on Firefox. No issues on Chrome

Uncaught (in promise) TypeError: langs[(("../../lang/" + (intermediate value)) + ".json")] is not a function

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
xiki808commented, Dec 16, 2022

Sorry for the late reply, I fixed this by adding the php_ prefix:

resolve: lang => import(…/…/lang/php_${lang}.json),

1reaction
xiCO2kcommented, Dec 16, 2022

Thanks @Tchilly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Console messages — Firefox Source Docs documentation
Then any messages or errors your source generates will show up in the Web Console with a link back to the original source,...
Read more >
console - Web APIs - MDN Web Docs
Chrome Edge Firefox console Full support. Chrome1. Toggle history Full support. Edge12. Toggle history Full s... assert Full support. Chrome1. Toggle history Full support. Edge12....
Read more >
Browser Console — Firefox Source Docs documentation
Browser Console logging​​ The Browser console logs the same sorts of messages as the Web Console: HTTP requests. Warnings and errors (including JavaScript,...
Read more >
How to fix console errors? | Firefox Support Forum
Recently, my employer saw errors in the browser in the console (as in the screenshot). Question: how to remove these errors? how to...
Read more >
Console doesn't display content script errors - Mozilla Discourse
During an extension development, I noticed that the Firefox debugger console doesn't display any errors while injecting content scripts, ...
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