我无法获取 Angular 2 快速入门教程 运行

I can not get the Angular 2 quick-start tutorial to run

我是 Angular 的新手,决定从快速入门教程开始 https://angular.io/docs/ts/latest/quickstart.html 我已经完成了所有步骤,也回来仔细检查了我的所有文件是否与教程,但我无法让它工作,也不知道从哪里开始解决问题。

我 运行 正在 Windows 10。我下载并安装了最新稳定版本的 Node (v4.4.7) 和 NPM (2.15.8)。他们似乎 运行 就好了。在我键入 npm start 后,我的 ts 文件被转换为 js 文件并且浏览器打开,但浏览器显示 "Cannot GET /" 而不是显示快速启动应用程序,Fiddler 向我展示了服务器返回 404 错误。

我浏览器的地址栏包含 http://localhost:3000/

在我的命令 window 中,每次我刷新浏览器时服务器都会输出一行文本,因此它们正在相互交谈。这是输出到控制台的行之一的示例 window [1] 16.07.04 15:43:09 404 GET /index.html.

我从哪里开始弄清楚发生了什么?

在你的 link 中它说:

Verify that you are running at least node v5.x.x and npm 3.x.x by running node -v and npm -v in a terminal/console window. Older versions produce errors.

我是 运行 节点 6.2.1,几周前我开始使用 Angular 2.

时,我能够重现教程中的所有内容

最新的好像是6.2.2。看这里:https://nodejs.org/en/download/current/

这是感兴趣的行

[BS] Serving files from: ./
[1] [BS] Watching files...
[1] 16.08.20 17:57:32 404 GET /index.html

我遇到了同样的问题并意识到我在 app/ 而不是下一级的根目录中创建了 index.html。移动文件后一切正常。