damnloveless6mo ago

Fresh project creation hanging

Upgraded deno to 1.39.2 this morning and tried to create a new fresh project. CLI just hangs after entering project name:
No description
6 Replies
damnloveless6mo ago
Rolled back to 1.39.1 and was able to create fresh project as expected.
Deno AI Helper
Deno AI Helper6mo ago
I wasn't able to find the answer to your issue in the official Deno documentation. However, based on your message, it seems like you might be experiencing a problem with the Fresh project creation process. If you've just upgraded Deno and are trying to create a new Fresh project, please ensure that you are following the correct steps to initialize a Fresh project. Typically, you would use a command like deno run -A -r https://fresh.deno.dev my-project to create a new project, where my-project is the name of your new project. Please note that the advice provided here is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. If the issue persists, you might want to check the Fresh project's repository for any known issues or reach out to the community for further assistance.
NDH6mo ago
Are you on Windows?
If so, Deno has had issues in the past about newline endings with Windows terminals.
This may be a regression that should be reported. @marvinh. I just upgraded Deno to 1.39.2 to check this issue. I had the same experience as above.
Windows 11 Powershell.
Fresh has built in support for styling using Tailwind CSS. Do you want to use this? [y/N]
Fresh has built in support for styling using Tailwind CSS. Do you want to use this? [y/N]
In the above, if you type 'n' and enter, it works! If you just hit enter, you get a newline in the terminal, but never complete the dialog. Hitting enter only produces the newline in the terminal.
damnloveless6mo ago
Yup on Windows. I tried creating a project how helper Bot suggested (w/ v1.39.2), with the project name as an argument and that worked as well. You may be right about this being a regression on Windows newlines. Maybe just on project name though?
marvinh.6mo ago
Can you file an issue for that on the deno repo?