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

deno run -A -r https://fresh.deno.dev does not accept single Enter on project name to pick default fresh-project #21886

Closed
king8fisher opened this issue Jan 10, 2024 · 3 comments
Labels
bug Something isn't working correctly

Comments

@king8fisher
Copy link
Contributor

Windows 11
Terminal App (PowerShell)

Upon clicking Enter, project initializer seems to keep waiting for input, and if you enter the project name after a bunch of failed new lines, throws

error: Uncaught (in promise) Error: The filename, directory name, or volume label syntax is incorrect. (os error 123): rfresh-project'rs\[removed]\Desktop\king8fisher\bug-report-deno-fresh-fragment\
  const dir = [...Deno.readDirSync(resolvedDirectory)];
                       ^
    at Object.readDirSync (ext:deno_fs/30_fs.js:170:14)
    at https://deno.land/x/[email protected]/init.ts:76:24

Another funny thing is addition of rs in the error message as if it tries to get rid of \r\n and remains with r - this could be the source of the issue (potentially).

Suggestion: offer deno-fresh-project instead.

@marvinhagemeister
Copy link
Contributor

Moving this to the Deno issue tracker since it's a bug in Deno and not in Fesh.

@marvinhagemeister marvinhagemeister transferred this issue from denoland/fresh Jan 10, 2024
@marvinhagemeister marvinhagemeister added the bug Something isn't working correctly label Jan 10, 2024
@kjloveless
Copy link

#21812

related issue?

@bartlomieju
Copy link
Member

Fixed by #21893, it will be released in Deno v1.39.3 tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

4 participants