アップデート
これを Azure にアップロードしたところ、すぐに機能しました。この問題は .env ファイルに関係していると思いますが、確信が持てません。
だから私はここのガイドに従った:
アプリを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 を実行できた人はいますか?