I am a new developer and I am seeing an error which states that "import { Configuration, OpenAIApi } from "openai"; SyntaxError: The requested module 'openai' does not provide an export named 'Configuration' "
This import is done in ./server/index.js
Can you please help me out with this error? Why is it showing? I have checked each line of code and there's no mistake in the code.
I am a new developer and I am seeing an error which states that "import { Configuration, OpenAIApi } from "openai"; SyntaxError: The requested module 'openai' does not provide an export named 'Configuration' "
This import is done in ./server/index.js
Can you please help me out with this error? Why is it showing? I have checked each line of code and there's no mistake in the code.