gpt4 book ai didi

node.js - Heroku Node Storm 路径

转载 作者:搜寻专家 更新时间:2023-11-01 00:08:09 25 4
gpt4 key购买 nike

更新

我将其上传到 Azure,它立即运行 - 我相信问题与 .env 文件有关,但我不能确定。

所以我按照指南here :

并且正在尝试将应用程序推送到 Heroku。我的所有配置变量都正确 - 但是,当应用程序在 heroku 上启动时,我收到:

/app/node_modules/stormpath/lib/ds/RequestExecutor.js:59
npm ERR! VisualVMail@0.0.1 start: `node ./bin/www`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the VisualVMail@0.0.1 start script.
npm ERR! This is most likely a problem with the VisualVMail package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get their info via:
npm ERR! npm owner ls VisualVMail
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.8.11-ec2
npm ERR! command "/app/vendor/node/bin/node" "/app/vendor/node/bin/npm" "st

npm ERR! cwd /app
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /app/npm-debug.log
npm ERR! not ok code 0

throw new Error('request.uri field is required.');

有没有人能够让 Stormpath/nodejs/heroku 运行起来,尤其是这个示例应用程序?

最佳答案

看起来你的 VisualVMail 包有问题——你能尝试调试它吗?它在错误中说 request.uri 是必需的。

关于node.js - Heroku Node Storm 路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24495177/

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