Skip to content

Stremio/ytdl-core-blob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytdl-core-blob

Why?

Because ytdl-core and many of it's dependencies have an irrational engine requirement of Node.js >=10, and we're using Node 8.x

This leads to an error while using yarn install with a Node.js version that is lower then 10.x

How to

Bump ytdl-core if needed in package.json: https://github.com/Stremio/ytdl-core-blob/blob/master/package.json#L12

Then:

npm i
npm start

This will webpack ytdl-core to ./index.js which is then used as the entry point for this module, removing the Node.js >=10 requirement.

Now commit the new pre-built version of ytdl-core (index.js) and use ytdl-core-blob from this repository instead of ytdl-core itself.

About

Webpacked ytdl-core to remove node 10 dependency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published