{"action":"created","issue":{"url":"https://api.github.com/repos/01org/zephyr.js/issues/1191","repository_url":"https://api.github.com/repos/01org/zephyr.js","labels_url":"https://api.github.com/repos/01org/zephyr.js/issues/1191/labels{/name}","comments_url":"https://api.github.com/repos/01org/zephyr.js/issues/1191/comments","events_url":"https://api.github.com/repos/01org/zephyr.js/issues/1191/events","html_url":"https://github.com/01org/zephyr.js/issues/1191","id":230802481,"number":1191,"title":"Missing module not displayed in the error message","user":{"login":"gvancuts","id":2192801,"avatar_url":"https://avatars2.githubusercontent.com/u/2192801?v=3","gravatar_id":"","url":"https://api.github.com/users/gvancuts","html_url":"https://github.com/gvancuts","followers_url":"https://api.github.com/users/gvancuts/followers","following_url":"https://api.github.com/users/gvancuts/following{/other_user}","gists_url":"https://api.github.com/users/gvancuts/gists{/gist_id}","starred_url":"https://api.github.com/users/gvancuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvancuts/subscriptions","organizations_url":"https://api.github.com/users/gvancuts/orgs","repos_url":"https://api.github.com/users/gvancuts/repos","events_url":"https://api.github.com/users/gvancuts/events{/privacy}","received_events_url":"https://api.github.com/users/gvancuts/received_events","type":"User","site_admin":false},"labels":[{"id":395838100,"url":"https://api.github.com/repos/01org/zephyr.js/labels/bug","name":"bug","color":"ee0701","default":true},{"id":500188053,"url":"https://api.github.com/repos/01org/zephyr.js/labels/fixed","name":"fixed","color":"00cc00","default":false},{"id":494952343,"url":"https://api.github.com/repos/01org/zephyr.js/labels/P1","name":"P1","color":"dd0000","default":false}],"state":"closed","locked":false,"assignee":{"login":"brianjjones","id":725841,"avatar_url":"https://avatars2.githubusercontent.com/u/725841?v=3","gravatar_id":"","url":"https://api.github.com/users/brianjjones","html_url":"https://github.com/brianjjones","followers_url":"https://api.github.com/users/brianjjones/followers","following_url":"https://api.github.com/users/brianjjones/following{/other_user}","gists_url":"https://api.github.com/users/brianjjones/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjjones/subscriptions","organizations_url":"https://api.github.com/users/brianjjones/orgs","repos_url":"https://api.github.com/users/brianjjones/repos","events_url":"https://api.github.com/users/brianjjones/events{/privacy}","received_events_url":"https://api.github.com/users/brianjjones/received_events","type":"User","site_admin":false},"assignees":[{"login":"brianjjones","id":725841,"avatar_url":"https://avatars2.githubusercontent.com/u/725841?v=3","gravatar_id":"","url":"https://api.github.com/users/brianjjones","html_url":"https://github.com/brianjjones","followers_url":"https://api.github.com/users/brianjjones/followers","following_url":"https://api.github.com/users/brianjjones/following{/other_user}","gists_url":"https://api.github.com/users/brianjjones/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjjones/subscriptions","organizations_url":"https://api.github.com/users/brianjjones/orgs","repos_url":"https://api.github.com/users/brianjjones/repos","events_url":"https://api.github.com/users/brianjjones/events{/privacy}","received_events_url":"https://api.github.com/users/brianjjones/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-05-23T18:29:53Z","updated_at":"2017-06-21T06:28:38Z","closed_at":"2017-06-16T16:56:59Z","body":"If the JavaScript app requires a module that is missing, the console displays an error message stating so but does not display what module is missing.\r\n\r\nSteps to reproduce this:\r\n1. Run a ZJS image that does *not* include support for `iotivity-constrained`\r\n2. Load [this JavaScript sample](https://github.com/01org/SmartHome-Demo/blob/master/ocf-servers/zjs-servers/led.js) via the Web IDE\r\n3. Run it and the following message will appear on the console:\r\n```\r\nacm> In function require():\r\nNotSupportedError: module not found: ''\r\n```\r\nI would expect the last line to actually display:\r\n```\r\nNotSupportedError: module not found: 'ocf'\r\n```"},"comment":{"url":"https://api.github.com/repos/01org/zephyr.js/issues/comments/309976399","html_url":"https://github.com/01org/zephyr.js/issues/1191#issuecomment-309976399","issue_url":"https://api.github.com/repos/01org/zephyr.js/issues/1191","id":309976399,"user":{"login":"qiaojingx","id":19813546,"avatar_url":"https://avatars0.githubusercontent.com/u/19813546?v=3","gravatar_id":"","url":"https://api.github.com/users/qiaojingx","html_url":"https://github.com/qiaojingx","followers_url":"https://api.github.com/users/qiaojingx/followers","following_url":"https://api.github.com/users/qiaojingx/following{/other_user}","gists_url":"https://api.github.com/users/qiaojingx/gists{/gist_id}","starred_url":"https://api.github.com/users/qiaojingx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiaojingx/subscriptions","organizations_url":"https://api.github.com/users/qiaojingx/orgs","repos_url":"https://api.github.com/users/qiaojingx/repos","events_url":"https://api.github.com/users/qiaojingx/events{/privacy}","received_events_url":"https://api.github.com/users/qiaojingx/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T06:28:38Z","updated_at":"2017-06-21T06:28:38Z","body":"Verified with commit 78c9749. This issue is not reproducible.\r\nClose this one."}}
{"actor":{"display_login":"qiaojingx"}}