gpt-engineer-org/gpt-engineer

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

flotos opened this issue · 4 comments

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>

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

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?

Additional follow-up:

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

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