“Cannot GET /” with Connect on Node.js

后端 未结 10 1237
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-01 00:40

I\'m trying to start serving some static web pages using connect like this:

var connect = require(\"connect\");
var nowjs = require(\"now\");
va         


        
10条回答
  •  庸人自扰
    2020-12-01 01:29

    The solution to "Cannot Get /" can usually be determined if you do an "ng build" in the command line. You will find most often that one of your "imports" does not have the correct path.

提交回复
热议问题