-
Notifications
You must be signed in to change notification settings - Fork 382
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: Cannot read properties of undefined (reading '0') #4
Comments
Hey @madebyfabian, thanks for opening this issue! This error typically happens when you don't have the correct value for the OpenAI env variable. I recommend you do a Could you verify you have the correct value for the env variable, open a brand new terminal, and try it out again? |
@Nutlope Thanks for your quick answer? The |
Hmm, weird. I have no idea what's going on unfortunately. I may try to add a debugging flag to the CLI soon that shows detailed console messages so folks can debug in situations like this. In the meantime, can I ask what operating system you're using @madebyfabian? |
@Nutlope Sure, using MacOS Ventura 13.0.1 (22A400). |
@madebyfabian Hmm that OS should definitely work. I agree that it'd be good to add better error handling for that, great idea. Mind trying one more thing for me? I have a feeling it may be extra whitespace so could you do a After all of that, open up a fresh terminal and try it one more time. If it works, then it was whitespace and I should just trim extra whitespace. |
I can confirm it is an Open AI issue
|
Further reference Same as #5 |
Yeah, I am getting this too. I will report back this week if I am still having the issue. Other info:
|
Duplicate of #5 The latest release should log the specific error from OpenAI |
Hey, awesome stuff! Trying to run the command, I get
Using Node v16.18.1. Let me know which system details do you need
The text was updated successfully, but these errors were encountered: