【问题标题】:Error 404 after starting the node application and visiting localhost:1337启动节点应用程序并访问 localhost:1337 后出现错误 404
【发布时间】:2018-12-10 03:59:12
【问题描述】:

我有使用帆的节点应用程序。我使用 node app.js 启动应用程序,但在访问 localhost:1337 时,我得到了 404。

【问题讨论】:

  • 你的项目可以以sails lift开头吗?如果这里确实是这种情况,则通常不应在sails 中修改此启动方法。

标签: javascript node.js sails.js


【解决方案1】:

不要使用node app.js 试试sails lift

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多