We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
usage of this module in a monorepo libary with Nextjs causes an error
Module not found: Can't resolve 'encoding' in '/Users/shravansunder/Documents/dev/project-dev/2023-askluna/node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib' Import trace for requested module: ../../node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib/index.js ../../node_modules/.pnpm/openai@4.11.1/node_modules/openai/_shims/node-runtime.mjs ../../node_modules/.pnpm/openai@4.11.1/node_modules/openai/_shims/auto/runtime-node.mjs ../../node_modules/.pnpm/openai@4.11.1/node_modules/openai/_shims/index.mjs ../../node_modules/.pnpm/openai@4.11.1/node_modules/openai/core.mjs ../../node_modules/.pnpm/openai@4.11.1/node_modules/openai/index.mjs ../../packages/askluna-core/src/api/getOpenAIClient.ts
Its most likely the same issue supabase had: supabase/supabase-js#612 The recently resolved it.
you'll get this error during webpack compile.
No response
macos
20
v4
The text was updated successfully, but these errors were encountered:
Is that an error, or just a warning? I believe you can safely ignore it (or silence it with npm i -D encoding, as noted in that thread).
npm i -D encoding
Supabase silenced this warning by depending on their own fork of node-fetch which isn't something we'd like to do.
Sorry, something went wrong.
No branches or pull requests
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
usage of this module in a monorepo libary with Nextjs causes an error
Its most likely the same issue supabase had: supabase/supabase-js#612
The recently resolved it.
To Reproduce
you'll get this error during webpack compile.
Code snippets
No response
OS
macos
Node version
20
Library version
v4
The text was updated successfully, but these errors were encountered: