gpt4 book ai didi

Node.js Express.js Heroku Toolbelt >Foreman 启动 - 错误 : write EINVAL

转载 作者:搜寻专家 更新时间:2023-10-31 22:39:18 26 4
gpt4 key购买 nike

这是我在使用 Heroku Toolbelt for Node.js 运行 foreman start 时遇到的 package.json 错误

 "dependencies": 
{
"express": "~4.4.0",
"jade": "~1.3.1"
}

enter image description here

最佳答案

我和 Jek 有同样的问题。我正在使用 express 4.4.4。我降级了 express 3.2.6 并且它有效,但我不应该因为工头不支持而被迫使用旧版本的 express。

我试过了 node-foreman .它对我有用。我遵循了包含以下步骤的说明:

  1. npm install -g 工头
  2. 开始

我想知道是否有人有其他建议。

关于Node.js Express.js Heroku Toolbelt >Foreman 启动 - 错误 : write EINVAL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24015393/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com