角手机教程 - 服务器不工作 [英] angular-phonecat tutorial- server not working

查看:150
本文介绍了角手机教程 - 服务器不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过,请务必使用,在你的CMD中,你正在按照教程,使用:


  • a 简化PATH

      set PATH = C:\WINDOWS\ system32; C:\ WINDOWS; C:\ WINDOWS \ SYSTEM32 \ WINDOWS; C:\WINDOWS\System32\WindowsPowerShell\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \to\git 
    set PATH =%GH%\ bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%


  • 一个PATH以您需要的最小值完成

      set PATH =%PATH%; C:\path\to\\\
    pm




Th再次尝试启动您的服务器。


I am working through this tutorial in angular-js. when I run the server, nothing seems to happen, my console looks like this:

This is in git bash but I get the same thing in windows console.
When I go to http://localhost:8000 it is blank and so is http://localhost:8000/app/index.html. No error messages.
When I browse to the app folder using windows explorer, index.html is present and has code.

Can anyone see the problem?

解决方案

To be sure noe of your other installed programs interfere with the Angular JS Setup requirement, make sure to use, in your CMD where you are following the tutorial, to use:

  • a simplified PATH

     set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
     set GH=C:\path\to\git
     set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%
    

  • a PATH completed with the minimum you need

     set PATH=%PATH%;C:\path\to\npm
    

Then try again to launch your server.

这篇关于角手机教程 - 服务器不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆