marmelab / marmelab/react-admin

Create React Admin interactive mode doesn't work

Open
#10,662 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
TypeScript
Stars
26.9k
Forks
5.5k
Avg merge
2d 3h
Merged PRs (30d)
19

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce `npm init react-admin react-admin-demo` and the same command with `--interactive` on Node 20 and 22. Trace the React Admin project initialization entry point that handles these options and compare the generated project with the tutorial's expected prompts; done means the command enters interactive setup and creates the configured project.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react, typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.