'http-server' is not recognized as an internal or external command

后端 未结 6 622
鱼传尺愫
鱼传尺愫 2021-02-05 11:12

After installing angular-seed project, i did the following steps:

Cloned the repository :

git clone https://github.com/angular/angular-seed.git <

6条回答
  •  鱼传尺愫
    2021-02-05 11:45

    If the accepted solution did not work for you. Try the following. This solved the issue in my system.

    Make sure the locations of both npm and http-server are added in environment variable 'PATH' (Both user variable and System variable).

    If it is not present,

    add C:\Users\username\AppData\Roaming\npm and C:\Users\username\AppData\Roaming\npm\node_modules\http-server to environment variable 'PATH'

提交回复
热议问题