You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
This issue may occur if you are using this library with nodejs. If you are getting this error, it is because you don't have fetch api installed.
You can install undici or node-fetch v2.x and youtube-sr automatically finds and uses one. If you have node-fetch installed and youtube-sr is still throwing this error, it could be due to node-fetch version 3 being installed on your project. Run npm install node-fetch@2.6.6 for example to fix this issue.
This issue may occur if you are using this library with nodejs. If you are getting this error, it is because you don't have fetch api installed.
You can install
undiciornode-fetchv2.x and youtube-sr automatically finds and uses one. If you havenode-fetchinstalled andyoutube-sris still throwing this error, it could be due tonode-fetchversion 3 being installed on your project. Runnpm install node-fetch@2.6.6for example to fix this issue.