D
Deno

help

Fresh project creation hanging

Ddamnloveless1/5/2024
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
Ddamnloveless1/5/2024
Rolled back to 1.39.1 and was able to create fresh project as expected.
DAHDeno AI Helper1/5/2024
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.
ABAltair 680b1/5/2024
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.
Ddamnloveless1/5/2024
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?
Mmarvinh.1/6/2024
Can you file an issue for that on the deno repo?

Looking for more? Join the community!

Recommended Posts
Redirect which deno deploy instance is used?My scenario is that I have one websocket connection on east4 and one on east5 and they need to be abstd/http/setCookie doesn't work?It seems to only support single cookies: ```ts import * as cookies from "https://deno.land/std@0.21Abort signals and node compatibilityDeno and Node's `AbortSignal` types are not compatible. I have verified that I can use a deno Abortdeployctl error: TypeError: request or response body errorHey, I'm getting an error when trying to deploy to a project error: TypeError: request or response bdrizzle orm for deno and sqlite?does drizzle orm work with sqlite and deno?deno queues on deployDoes anyone have a simple example if deno queues + routing that works on demo deploycompile to target, 'unzip' not found.I am on linux ubuntu 22 I downloaded, uninstalled reinstalled, written to path unzip. however no matRecommendations for interacting with Excel sheets (.xlsx) and GraphQL?I want to use Deno in production. Specifically, I'm looking into building a script that reads a `.xlTrouble with Deno importsWhat's wrong with my import? The link is valid and I cached it. (https://deno.land/x/deno_dom@v0.1.How to format on save with devcontainerI'd like to automatically format my code when saving, but it's not working. devcontainer.json ```jsHow does form submission work?I'm following the tutorial: https://fresh.deno.dev/docs/getting-started/form-submissions It says: >Won't install `npm:@supabase/ssr`I'm trying to build something with Fresh and Supabase and would like to use the [`@supabase/ssr`](ht`RangeError: Offset is outside the bounds of the DataView` when trying to encrypt with AES-CRTHi, I'm trying to encrypt some files with aes128-crt, but I always get the error below. (Even if I jAny way for VS Code to auto-complete library subdirectory in import?Is there any way for VS Code to suggest subdirectory in a package (especially for npm package) when get hours & minutes in a specific timezoneMaybe I search the wrong way, but all I'd like to do is to use a specific timezone in my project runConnection refused when creating a local API serverI'm following [Simple API server | Deno Docs](https://docs.deno.com/deploy/tutorials/simple-api "Sim