buzz / mediainfo.js

Extract media file metadata in the browser using WebAssembly.
https://mediainfo.js.org
BSD 2-Clause "Simplified" License
712 stars 108 forks source link

An error occured when i upgrade mediainfo.js package to 0.1.9 #132

Closed eryilmazyasin closed 1 year ago

eryilmazyasin commented 1 year ago

Bug Report

When I upgraded the mediainfo.js package version from 0.1.8 to 0.1.9 on my React project, I got the error "Field 'browser' doesn't contain a valid alias configuration" when I ran npm run build.

Expected Behavior

I expected that the mediainfo.js package version 0.1.9 would be compatible with my React project.

Actual Behavior

The mediainfo.js package version 0.1.9 caused the error "Field 'browser' doesn't contain a valid alias configuration" when I ran npm run build.

Environment

Additional Information

I have tried the following things to fix the problem:

None of these things have fixed the problem.

I would appreciate it if you could look into this issue.

buzz commented 1 year ago

There's a minimal Webpack/React example to get you started. If you still need to figure out stuff, Stack Overflow is a great place to ask questions. If you think you might have encountered a bug in mediainfo.js, feel free to open an issue with detailed info. Thanks!