Strange warning when scaffolding a project
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Description
When scaffolding a new project, I get a strange warning
The project creates correctly, but it's unclear to me why I get this warning, and why all the project templates need to be listed out in the terminal.
Steps to reproduce
- Run
spfx create --template "webpart-react" --component-name "test" --library-name "react" --solution-name "testA" --component-description "test desc"
Expected behavior
I think it should just scaffold the project and that's it. No warning and now template list is needed
Actual behavior
I get an output visible as in the description
CLI version
0.1.0-pre.3
Node.js version
v22.14.0
Operating system
Windows
Template (if applicable)
webpart-react
Additional context
No response
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 the issue with the documented spfx create command using the webpart-react template on Windows. Start at the spfx create CLI entry point and inspect how template selection and terminal output are handled; done means the project still scaffolds successfully without the warning or unnecessary template list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100