{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/167","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/167/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/167/events","html_url":"https://github.com/NativeScript/NativeScript/issues/167","id":76584916,"number":167,"title":"require in npm modules/packages not checking node_module folder","user":{"login":"emmanuelbuah","id":432664,"avatar_url":"https://avatars.githubusercontent.com/u/432664?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuelbuah","html_url":"https://github.com/emmanuelbuah","followers_url":"https://api.github.com/users/emmanuelbuah/followers","following_url":"https://api.github.com/users/emmanuelbuah/following{/other_user}","gists_url":"https://api.github.com/users/emmanuelbuah/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuelbuah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuelbuah/subscriptions","organizations_url":"https://api.github.com/users/emmanuelbuah/orgs","repos_url":"https://api.github.com/users/emmanuelbuah/repos","events_url":"https://api.github.com/users/emmanuelbuah/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuelbuah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-05-15T04:14:19Z","updated_at":"2015-08-16T01:10:00Z","closed_at":null,"body":"@valentinstoychev Per comments at https://github.com/NativeScript/NativeScript/issues/103, I started work on integrating meteor and nativescript via npm modules. I run into an issue where require(..) doesn't check the node_modules folder relative to the calling script (similar to node), but rather only checks tns_module.\r\n\r\nIt this a bug?\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/131473070","html_url":"https://github.com/NativeScript/NativeScript/issues/167#issuecomment-131473070","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/167","id":131473070,"user":{"login":"Nathanaela","id":850871,"avatar_url":"https://avatars.githubusercontent.com/u/850871?v=3","gravatar_id":"","url":"https://api.github.com/users/Nathanaela","html_url":"https://github.com/Nathanaela","followers_url":"https://api.github.com/users/Nathanaela/followers","following_url":"https://api.github.com/users/Nathanaela/following{/other_user}","gists_url":"https://api.github.com/users/Nathanaela/gists{/gist_id}","starred_url":"https://api.github.com/users/Nathanaela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nathanaela/subscriptions","organizations_url":"https://api.github.com/users/Nathanaela/orgs","repos_url":"https://api.github.com/users/Nathanaela/repos","events_url":"https://api.github.com/users/Nathanaela/events{/privacy}","received_events_url":"https://api.github.com/users/Nathanaela/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T01:10:00Z","updated_at":"2015-08-16T01:10:00Z","body":"Fully functional websockets for iOS and android are finally released.  http://fluentreports.com/blog/?p=95 for more details.   "}}