{"action":"opened","issue":{"url":"https://api.github.com/repos/denali-js/denali/issues/213","repository_url":"https://api.github.com/repos/denali-js/denali","labels_url":"https://api.github.com/repos/denali-js/denali/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/denali-js/denali/issues/213/comments","events_url":"https://api.github.com/repos/denali-js/denali/issues/213/events","html_url":"https://github.com/denali-js/denali/issues/213","id":186974134,"number":213,"title":"Unable to use process.env variables for config?","user":{"login":"acorncom","id":802505,"avatar_url":"https://avatars.githubusercontent.com/u/802505?v=3","gravatar_id":"","url":"https://api.github.com/users/acorncom","html_url":"https://github.com/acorncom","followers_url":"https://api.github.com/users/acorncom/followers","following_url":"https://api.github.com/users/acorncom/following{/other_user}","gists_url":"https://api.github.com/users/acorncom/gists{/gist_id}","starred_url":"https://api.github.com/users/acorncom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorncom/subscriptions","organizations_url":"https://api.github.com/users/acorncom/orgs","repos_url":"https://api.github.com/users/acorncom/repos","events_url":"https://api.github.com/users/acorncom/events{/privacy}","received_events_url":"https://api.github.com/users/acorncom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-03T03:53:09Z","updated_at":"2016-11-03T03:53:09Z","closed_at":null,"body":"I'm seeing issues with using `process.env` variables when deploying to production (as we promise in our app blueprint in the config file here: https://github.com/denali-js/denali/blob/master/blueprints/app/files/__name__/config/environment.js#L4)\r\n\r\n```\r\n2016-11-03T03:14:33.636373+00:00 heroku[web.1]: Starting process with command `npm start`\r\n2016-11-03T03:14:36.140672+00:00 app[web.1]: \r\n2016-11-03T03:14:36.140694+00:00 app[web.1]: > app-name@0.0.1 start /app\r\n2016-11-03T03:14:36.140696+00:00 app[web.1]: > denali server\r\n2016-11-03T03:14:36.140696+00:00 app[web.1]: \r\n2016-11-03T03:15:00.905494+00:00 app[web.1]: \r\n2016-11-03T03:15:00.905505+00:00 app[web.1]: Slowest Trees                                 | Total               \r\n2016-11-03T03:15:00.905506+00:00 app[web.1]: ----------------------------------------------+---------------------\r\n2016-11-03T03:15:00.905507+00:00 app[web.1]: Babel                                         | 6303ms              \r\n2016-11-03T03:15:00.905507+00:00 app[web.1]: Babel                                         | 6143ms              \r\n2016-11-03T03:15:00.905508+00:00 app[web.1]: Babel                                         | 985ms               \r\n2016-11-03T03:15:00.905509+00:00 app[web.1]: \r\n2016-11-03T03:15:00.905509+00:00 app[web.1]: Slowest Trees (cumulative)                    | Total (avg)         \r\n2016-11-03T03:15:00.905510+00:00 app[web.1]: ----------------------------------------------+---------------------\r\n2016-11-03T03:15:00.905511+00:00 app[web.1]: Babel (11)                                    | 14555ms (1323 ms)   \r\n2016-11-03T03:15:00.905511+00:00 app[web.1]: \r\n2016-11-03T03:15:03.727313+00:00 app[web.1]: (node:22) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.\r\n2016-11-03T03:15:03.770063+00:00 app[web.1]: [2016-11-03T03:15:03.769Z] INFO - app-name@0.0.1 server up on port 3000\r\n2016-11-03T03:15:33.954447+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch\r\n```\r\n\r\nI'm seeing the same issue if I do the following:\r\n\r\n`PORT=8080 denali server`\r\n\r\nHowever, doing this:\r\n\r\n`denali server --port 8080`\r\n\r\nworks as intended"}}
{"actor":{"display_login":"acorncom"}}