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.

CCXT will not import inside Web Worker

See original GitHub issue
  • OS: Mac OS Big Sur
  • Programming Language version: JavaScript Vanilla in Browser
  • CCXT version: 1.81

CCXT will not import inside Web Worker

// main.js
var w = new Worker( 'worker' , { type:'module'} ) 

// web_worker.js
import { * as ccxt } from './ccxt.browser.js';
silent fail to load  

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
frosty00commented, May 17, 2022

@psytron we are working on adding esm support to ccxt - see #12619, we plan to complete it later this month

2reactions
dkraemerworkcommented, Oct 30, 2022

Since the migration of ccxt.pro into ccxt, the new browser versions (1.93.100 and higher) won’t work in a webworker context anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Worker not working when importing module, even while ...
The worker is supposed to read an image and do various things. The app was created using create-react-app . Currently I have. webpack.config.js...
Read more >
jooby: do more! more easily!!
The mount operator only import routes. Services, callbacks, etc…​ are not imported. Main application is responsible for assembly all the resources and services ......
Read more >
20.0: Dashboards are here! - CXT Software
Workaround: Save passwords into the Internet User Profile. Subscription based reports fail to export and generate an email when certain field types like ......
Read more >
Glasgow Haskell Compiler 8.8.2 User's Guide
GHC currently does not support this variety of Just nodes (nor for any other datatype). ... For example, to bring Int# into scope...
Read more >
Development Guide JBoss Enterprise Application Platform 6.2
Using this POM file, you can easily import the quickstart into JBoss Developer Studio. If you have not done so, Section 2.3.2, “Configure...
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