Bitvested / ta.js

Financial Technical Analysis in JavaScript
MIT License
143 stars 33 forks source link

Bug: Can't resolve 'worker_threads' #23

Closed haydar-can closed 3 months ago

haydar-can commented 6 months ago

I wanted to use ta.js to use it in an electronjs application. However;

ERROR in ./node_modules/ta.js/multi/multi.js 4:4-29 Module not found: Error: Can't resolve 'worker_threads' in

error appears on the screen.

import { ren as Renko } from 'ta.js';

I'm calling as.

Thank you.

Vultwo commented 6 months ago

Hi,

You should use this version of the package: https://github.com/Bitvested/ta.web