Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

HelloWorld 文件名原因,项目启动报错

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by comparing the route configuration in config/config.js with src/page/helloworld.js, focusing on the HelloWorld versus helloworld name mismatch. Run cnpm run dev to reproduce the startup failure; done means the configured route resolves to the existing page and the project starts successfully.

Written by the indexing model from the issue text.

Description

你好,最近正在使用该项目学习 ant-design,该项目拉下来以后没有办法直接 cnpm run dev 启动。

查看了一下 config/config.js 中配置的 helloworld 路由找不到对应文件:

  • 配置的 HelloWorld 和 src/page/helloworld.js 文件没有匹配上
Dominant language
JavaScript
Stars
432
Forks
155
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from ant-design/react-tutorial

All issues in ant-design/react-tutorial

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.