marmelab / react-admin

A frontend Framework for single-page applications on top of REST/GraphQL APIs, using TypeScript, React and Material Design
http://marmelab.com/react-admin
MIT License
24.77k stars 5.22k forks source link

Cli does not show anything #10065

Closed An88ton closed 1 week ago

An88ton commented 1 month ago

I use react-admin of version 5.0.5 and Windows 11, when I run "npm init react-admin test-admin" as described in the tutorial, cli does not show any options, but when I press Ctrl+C it shows current step. image image

fzaninotto commented 1 month ago

The CLI isn't tested on Windows, so I guess the problem comes from there.

Do you manage to run other create- packages, e.g. for Next.js, Vite, or Remix?

An88ton commented 1 month ago

I've tried next create app, it works just fine, also I was working with npm create package, and nest CLI, they work correctly too. Also, I mentioned that create react admin process correctly pressing keyboard arrows, so I was able to create project by remembering how many times I need to press arrow button to select needed option.

slax57 commented 1 month ago

I just tested on my Windows machine (running Windows 10), with both PowerShell and CMD, and everything worked first try. The CLI was rendered along with all the options.

Versions: create-react-admin@5.1.1 node v18.18.2 npm 9.8.1

What are your versions of node and npm? Can you try with the latest version of create-react-admin?

fzaninotto commented 1 week ago

No news for some time, closing.