{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/iisnode/issues/35","repository_url":"https://api.github.com/repos/Azure/iisnode","labels_url":"https://api.github.com/repos/Azure/iisnode/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Azure/iisnode/issues/35/comments","events_url":"https://api.github.com/repos/Azure/iisnode/issues/35/events","html_url":"https://github.com/Azure/iisnode/issues/35","id":194746827,"number":35,"title":"How to ensure iisnode respects NODE_PATH?","user":{"login":"nickhudkins","id":299126,"avatar_url":"https://avatars.githubusercontent.com/u/299126?v=3","gravatar_id":"","url":"https://api.github.com/users/nickhudkins","html_url":"https://github.com/nickhudkins","followers_url":"https://api.github.com/users/nickhudkins/followers","following_url":"https://api.github.com/users/nickhudkins/following{/other_user}","gists_url":"https://api.github.com/users/nickhudkins/gists{/gist_id}","starred_url":"https://api.github.com/users/nickhudkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickhudkins/subscriptions","organizations_url":"https://api.github.com/users/nickhudkins/orgs","repos_url":"https://api.github.com/users/nickhudkins/repos","events_url":"https://api.github.com/users/nickhudkins/events{/privacy}","received_events_url":"https://api.github.com/users/nickhudkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-10T05:47:32Z","updated_at":"2016-12-10T05:47:32Z","closed_at":null,"body":"It is not uncommon to want to be able to have non-relative imports, for example, for configuration, etc...\r\n\r\nIn the world of running a node executable on your own (development env, any other cloud provider that isn't azure... things like that) you can simply set an env var and have it respected by the node runtime.\r\n\r\nImagine a project structure like so:\r\n```\r\ndist\r\n|--foo\r\n    |--bar\r\n        |--baz\r\n            app.js\r\n|--config\r\n```\r\nin app.js with NODE_PATH=dist, I can simply require('config') and have what I need.\r\n\r\nWithin Azure App Services, it appears to ignore NODE_PATH from Application Settings, so... what am I missing to make this work, or is this simply not possible :( ?\r\n"}}
{"actor":{"display_login":"nickhudkins"}}