Skip to content

Module not found: "lib-cov/fluent-ffmpeg" #80

@iRajatDas

Description

@iRajatDas

I am using nextjs 14, and got this error: "Module not found: Can't resolve './lib-cov/fluent-ffmpeg'"

image

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions