HTTP服务器:找不到命令错误

时间:2018-06-22 22:07:34

标签: node.js npm npm-install

我正在从another problem进行故障排除,并试图运行命令public class MyDbContext : DbContext { public SureshotDbContext() { // This allows for instantiation at design time. } public MyDbContext(DbContextOptions<MyDbContext> options) : base(options) { // This allows for configuration in real applications. } protected override void OnConfiguring( DbContextOptionsBuilder optionsBuilder ) { if (optionsBuilder.IsConfigured) { return; } optionsBuilder.UseSqlServer(nameof(TDbContext)); } } 。这样做时,出现错误http-server -c-1

here的建议下,我遵循了选项二this StackOverflow question,但没有帮助。

从最后一个链接看来,答案似乎与PATH有关,所以我将在输入http-server: command not found时包括在内:

echo $PATH

为什么我的计算机找不到该命令?

0 个答案:

没有答案