-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Can't resolve 'encoding' in '......\node_modules\node-fetch\lib' #828
Comments
Is this an issue on our end or with this particular framework? The links you provided seem to indicate the latter. I can take a look at this, but I would need you to provide a repo + specific commands to run to reproduce as I am not familiar with this framework. |
@Balearica Thanks for the response, updated my report |
Thanks for preparing the example repo. I think this warning message is caused by some interaction between The node-fetch package, including the latest version, handles the fact that
https://www.npmjs.com/package/node-fetch/v/2.7.0?activeTab=code |
Oh, that's interesting to know. I'll try to file a next.js bug report. Is it OK if I leave this open for now? |
Sure, we can leave this issue open for now. |
Can't tell why, but next |
Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)
Describe the bug
I keep getting this error using
next.js
v13.4.19Everything in
tesseract.js
works despite this warning.According to https://stackoverflow.com/q/75438048/11571888, supabase/supabase-js#612 got this fixed. I am not using
supabase
unfortunately, so I still need to addencoding
as dev dependency to remove the warning.To Reproduce
Steps to reproduce the behavior:
npm install
npm dev
localhost:3000
, or whatever shown in the console that invokedlocalhost:3000
Expected behavior
No warning in
next dev
output.Device Version:
Additional context
N/A
The text was updated successfully, but these errors were encountered: