Skip to content

Create React Admin interactive mode doesn't work #10662

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

Open
chawax opened this issue Apr 13, 2025 · 5 comments
Open

Create React Admin interactive mode doesn't work #10662

chawax opened this issue Apr 13, 2025 · 5 comments

Comments

@chawax
Copy link

chawax commented Apr 13, 2025

I follow the video tutorial to initialize a React Admin project, but when i run the "npm init" command :

npm init react-admin react-admin-demo

it should ask data provider, auth provider, etc... But it does not.
It creates an empty project then installs dependencies, but that's all.

I tried to explicitely set interactive mode but it does not work neither

npm init react-admin react-admin-demo --interactive

I use Node 22.14.0, but same problem with Node 20.

I noticed on the Youtube video comment that other people met the same problem.

@chawax
Copy link
Author

chawax commented Apr 13, 2025

Well, i could make it work this way :

npm init react-admin react-admin-demo -- --interactive

So it looks like interactive mode is not more the default one.

@fzaninotto
Copy link
Member

Yes, the default CLI mode has been changed in 5.6.0. The video should be updated, though, so I'm marking this as a documentation issue.

@othierry-asi
Copy link

Ok, thanks !

@saloua-ch
Copy link

fzaninotto wwould you like me to edit the youtube video to fix this documentation issue?

@fzaninotto
Copy link
Member

How could you edit the video? We need to rerecord it I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants