marmelab / marmelab/react-admin
Create React Admin interactive mode doesn't work
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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