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

TypeError: e.readFile is not a function, while using vscode language detection #21

Open
joyeeta26 opened this issue Feb 25, 2024 · 3 comments

Comments

@joyeeta26
Copy link

No description provided.

@joyeeta26
Copy link
Author

Update: for small content, it returns an empty array but for content size larger than the minContentSize, it throws the exception

@jfcherng
Copy link

jfcherng commented Mar 1, 2024

Did you install this with npm or yarn? Or maybe it's because you are using an old node.js? You may also interested in Google's latest Magika lib (python/js).

@joyeeta26
Copy link
Author

using yarn
and node version 18.0.0

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

2 participants