Closed vwebtech closed 4 years ago
This seems to be caused by an incompatible Node version, what Node version are you using?
Also having this issue. Node v14.12.0
I'm still not sure what causes this, you can try the beta version (npm i scrape-yt@beta
) but I don't think you will able to use useWorkerThread
option if you need it.
I tried it on Node v14.12.0 using nvm on WSL, and it didn't gave me any error.
Closing this now as a27991f2370906c43ddf518d3875ec47d927e04e should've fixed this. Also published the update on version 1.4.5
.
If this still persists, feel free to re-open the issue.
Got this issue
trying to use it on nodejs app
Failed to compile ./node_modules/scrape-yt/dist/index.js Module not found: Can't resolve 'worker_threads' in '\node_modules\scrape-yt\dist'