gulp built project 500 - Stack Overflow
迷茫
迷茫 2017-05-16 13:38:51
0
2
487

The project built by gulp always reports 500 and the page can be rendered
I humbly ask the seniors from all sides for advice


迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
仅有的幸福

This module exportsIn which file is the outgoing thing referenced?

Express does not need to be written like this. Just execute this file directly and add the port to run it.

小葫芦

This is a sample routing file automatically generated by yo's express generator

  var controllers = glob.sync(config.root + '/app/controllers/*.js');
  controllers.forEach(function (controller) {
    require(controller)(app);
  });

Express.js is related to the above picture, which includes all routing files in the controllers folder

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template