Skip to content

Could not resolve "uint8array-extras" #2483

@KcZLog

Description

@KcZLog

Is there an existing issue for this?

  • I have searched the existing issues

music-metadata version

11.8.2

Current Behavior

The dependency uint8array-extras was removed in #2477, but missed on this file:

import {hexToUint8Array, uint8ArrayToHex} from 'uint8array-extras';

Causing resolve error in Yarn PnP:

✘ [ERROR] Could not resolve "uint8array-extras"

     .yarn/cache/music-metadata-npm-11.8.2-92c8ef9861-8fd9beed9d.zip/node_modules/music-metadata/lib/asf/GUID.js:1:49:
       1 │ import { hexToUint8Array, uint8ArrayToHex } from 'uint8array-extras';
         ╵                                                  ~~~~~~~~~~~~~~~~~~~

   The Yarn Plug'n'Play manifest forbids importing "uint8array-extras" here because it's not listed as a dependency of this package:

Expected Behavior

No error

Attached audio sample?

  • I have provided sufficient information to reproduce the issue

Metadata

Metadata

Assignees

Labels

bugBug, will addressed with high priority

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions