Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ambiguous indirect export: parseFile #1805

Closed
2 tasks done
thejacer87 opened this issue Jul 27, 2023 · 1 comment
Closed
2 tasks done

ambiguous indirect export: parseFile #1805

thejacer87 opened this issue Jul 27, 2023 · 1 comment
Labels
bug Bug, will addressed with high priority cannot reproduce The issue described cannot be reproduced

Comments

@thejacer87
Copy link

thejacer87 commented Jul 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

music-metadata version

^8.1.4

JavaScript module eco system

ECMAScript modules (ESM), music-medata ≥ version 8

Current Behavior

in nuxt 3

i import the module:

import { parseFile } from "music-metadata";

...

const metadata = await parseFile(props.src);

strangely parseStream is imported just fine, even though they are both exported in the same manner:

export declare function parseStream(stream: Stream.Readable, fileInfo?: strtok3.IFileInfo | string, options?: IOptions): Promise<IAudioMetadata>;
export declare function parseFile(filePath: string, options?: IOptions): Promise<IAudioMetadata>;

Expected Behavior

for it to parseFile

Attached audio sample?

  • I have provided sufficient information to reproduce the issue
@thejacer87 thejacer87 added the bug Bug, will addressed with high priority label Jul 27, 2023
@JannieT
Copy link

JannieT commented Aug 28, 2023

@thejacer87 you say that the expected behaviour is "for it to parseFile". How do you know it does not parseFile?

@Borewit Borewit added the cannot reproduce The issue described cannot be reproduced label Sep 4, 2023
@Borewit Borewit closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, will addressed with high priority cannot reproduce The issue described cannot be reproduced
Projects
None yet
Development

No branches or pull requests

3 participants