I am using nextjs 14, and got this error: "Module not found: Can't resolve './lib-cov/fluent-ffmpeg'"
Please fix this issue.
Usage:
import React from "react";
import SpottyDL from "spottydl";
const DOWNLOAD_FOLDER = __dirname + "/downloads";
const Page = () => {
(async () => {
await SpottyDL.getTrack(
"https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT"
).then(async (results) => {
let track = await SpottyDL.downloadTrack(results as any, DOWNLOAD_FOLDER);
console.log(track);
});
})();
return <div>Page</div>;
};
export default Page;
I am using nextjs 14, and got this error: "Module not found: Can't resolve './lib-cov/fluent-ffmpeg'"
Please fix this issue.
Usage: