ApayRus / direct-link

A downloader, that gets you access to direct links to youtube's: video (mp4), audio (m4a), captions/subtitles (.vtt), thumbnails (webp).
https://direct-link.vercel.app
8 stars 7 forks source link

Errors with Next.js Setup: Module Not Found, Lockfile Warning, and Build Issues #5

Open Tenith01 opened 3 weeks ago

Tenith01 commented 3 weeks ago

I'm encountering the following issues with my Next.js project:

error - ./node_modules/@distube/ytdl-core/lib/utils.js:2:24
Module not found: Can't resolve 'fs' 

warning package-lock.json found. Your project contains lock files generated by tools other than Yarn...

warn - Lockfile was successfully patched, please run "npm install" to ensure @next/swc dependencies are downloaded

Watchpack Error: Error: ENOTDIR: not a directory, scandir '.../node_modules/next/dist/compiled/util/util.js'

Additional Notes I've tried removing package-lock.json, updating Yarn, and clearing .next but issues persist.

ApayRus commented 3 weeks ago

@Tenith01 after a few last updates of ytdl-core , this code doesn't work anymore ... Sorry I couldn't support it now. If you have Ideas you can do pull request to this project