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

Creating new project: Hang at "npm start", crash if I say "y" #1167

Closed
flotos opened this issue Jun 6, 2024 · 4 comments
Closed

Creating new project: Hang at "npm start", crash if I say "y" #1167

flotos opened this issue Jun 6, 2024 · 4 comments
Labels
bug Something isn't working triage Interesting but stale issue. Will be close if inactive for 3 more days after label added.

Comments

@flotos
Copy link

flotos commented Jun 6, 2024

Expected Behavior

I am running the latest commit with gpte ../node-game3/ --model gpt-4o and the script hang at "npm start" (see failure logs) and nothing happens

Current Behavior

The program hang, then crash if I say "y", with no file created.

Failure Information

Running on windows using Powershell.

Failure Logs

gen_entrypoint_chat.txt
all_output.txt
powershell_output.txt

The powershell_output is the not-logged error, ending with a UnicodeEncodeError: 'charmap' codec can't encode characters in position 17-19: character maps to <undefined>

@flotos flotos added bug Something isn't working triage Interesting but stale issue. Will be close if inactive for 3 more days after label added. labels Jun 6, 2024
@flotos
Copy link
Author

flotos commented Jun 6, 2024

I refused to run the code this time and it successfuly created the files afterward.

@captivus
Copy link
Collaborator

captivus commented Jun 6, 2024

Hello!

Thanks for submitting the issue. Does this occur consistently -- i.e. gpte fails to execute the code and crashes when you tell it to run the generated code, or was this just one run?

@captivus
Copy link
Collaborator

captivus commented Jun 6, 2024

Additional follow-up:

When you run npm start in your project folder, what happens?

@captivus
Copy link
Collaborator

Closing due to lack of follow-up. @flotos please do come back with details if this persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Interesting but stale issue. Will be close if inactive for 3 more days after label added.
Projects
None yet
Development

No branches or pull requests

2 participants