Bitvested / ta.js

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

NEXTJS import not working #10

Closed hoandt closed 2 years ago

hoandt commented 2 years ago

Hello, I have this error and couldnt run on Next JS or ReactJs: Module not found: Can't resolve 'worker_threads'

Can you suggest?

Vultwo commented 2 years ago

Hi,

This is a known issue when using react. I have created a react compatible version of this package here: https://github.com/Bitvested/ta.web

hoandt commented 2 years ago

Thank you. It works.