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

MissingDependencyError: exiftool-vendored node:fs node:os #875

Open
binbard opened this issue May 20, 2024 · 1 comment
Open

MissingDependencyError: exiftool-vendored node:fs node:os #875

binbard opened this issue May 20, 2024 · 1 comment
Assignees

Comments

@binbard
Copy link

binbard commented May 20, 2024

exiftool-vendored

ERROR:

MissingDependencyError
This package (or this version) uses `node:child_process`, `node:events`, `node:fs`, `node:os`, `node:path`, `node:process`, `node:timers` and `node:util`, but does not specify them either as a dependency or a peer dependency
ModuleNotFoundError: Module not found: Error: Can't resolve 'node:child_process' in '/tmp/tmp-build/packages/build-exiftool-vendored-cDz/node_modules/batch-cluster/dist'

Problem

My guess is if it would have been child_process, events, fs instead of node:child_process, node:fs, it should have worked. Please fix this.

@fzn0x
Copy link

fzn0x commented Jun 25, 2024

This also happens in cross runtime environment, we need to specify node: for Node.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants