Open ACyphus opened 4 years ago
My guess is that's an error in ytdl-core
. @fent Do you have any insight on this?
this was an error in ytdl-core <= v1.0.0, it was fixed in v1.0.1
$ ytdl --version
1.1.0
I've also tried running:
$ npm install -g ytdl-core@latest
+ ytdl-core@1.0.3
updated 1 package in 0.441s
I'm still getting the same error though. How can I ensure I'm using the fixed version of ytdl-core
?
Feel free to make a PR updating pully. I can test it later today and release it to npm.
@ACyphus Just a guess, but try navigating to your global node_modules
directory and find pully
. Within there try running npm i ytdl-core@latest
. Then run the pully
command.
Feel free to make a PR updating pully. I can test it later today and release it to npm.
@jimbuck I'm not super familiar with node. I'm presuming this requires updating the ytdl-core
dependency in pully-core
? https://github.com/jimbuck/pully-core/blob/master/package.json#L38
@ACyphus Just a guess, but try navigating to your global
node_modules
directory and findpully
. Within there try runningnpm i ytdl-core@latest
. Then run thepully
command.
$ npm i ytdl-core@latest
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/linux-arm@4.1.3 (node_modules/@ffmpeg-installer/linux-arm):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/linux-arm@4.1.3: wanted {"os":"linux","arch":"arm"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/linux-arm64@4.1.4 (node_modules/@ffmpeg-installer/linux-arm64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/linux-arm64@4.1.4: wanted {"os":"linux","arch":"arm64"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/linux-ia32@4.1.0 (node_modules/@ffmpeg-installer/linux-ia32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/linux-ia32@4.1.0: wanted {"os":"linux","arch":"ia32"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/linux-x64@4.1.0 (node_modules/@ffmpeg-installer/linux-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/linux-x64@4.1.0: wanted {"os":"linux","arch":"x64"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/win32-ia32@4.1.0 (node_modules/@ffmpeg-installer/win32-ia32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/win32-ia32@4.1.0: wanted {"os":"win32","arch":"ia32"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/win32-x64@4.1.0 (node_modules/@ffmpeg-installer/win32-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/win32-x64@4.1.0: wanted {"os":"win32","arch":"x64"} (current: {"os":"darwin","arch":"x64"})
+ ytdl-core@1.0.3
updated 1 package and audited 192 packages in 3.03s
found 0 vulnerabilities
I still get the same error when running pully
though.
@ACyphus Thanks for trying that. I should have some time tonight (6'ish hours from now) to update the references on everything and test it all. I'll post any updates here.
Thanks @jimbuck ✨ absolutely no rush from my side by the way
Just FYI, this is still on my mind, I will take a stab at it tonight.
pully-core
is now updated. Working on updating pully
next.
er I don't even know what pully
is but I have a browser extension that uses ytdl-core
and apparently updating to the latest version (which is a new major) solved the issue for me
I still have the same error, tried installing the latest ytdl but this gave me the same warning messages as @ACyphus.
$ ytdl --version 1.1.0
I've also tried running:
$ npm install -g ytdl-core@latest + ytdl-core@1.0.3 updated 1 package in 0.441s
I'm still getting the same error though. How can I ensure I'm using the fixed version of
ytdl-core
?
don't install a node library globally. node will prioritize local modules over global ones.
if you want to debug this more, look at your package-lock.json
file and see any entries for ytdl-core and what is requiring an older version, if anything.
Temporary fix.
cp -r ./node_modules/m3u8stream/dist ./node_modules/m3u8stream/lib
in /node_modules/ytdl-core/lib/index.js change 'm3u8stream/lib/parse-time
to 'm3u8stream/dist/parse-time
I think the latest tag reference a version that depends on the 0.7.2
release of pully-core
which depends on the 0.28.0
release of ytdl-core
, which incorrectly references m3u8stream/lib/parse-time
instead of m3u8stream/dist/parse-time
.
Could this mean that anyone who installs pully
using npm i pully
will get a broken version? That's what happened to me, but I don't know for sure.
Is the solution for the maintainer to create a new tag that references a version of pully
that has the up to date dependencies?
Just freshly installed pully and seeing this error:
Any suggestions on how to fix?
macOS 10.15.2 npm 6.13.4 node 13.2.0