{"action":"created","issue":{"url":"https://api.github.com/repos/intel/zephyr.js/issues/1833","repository_url":"https://api.github.com/repos/intel/zephyr.js","labels_url":"https://api.github.com/repos/intel/zephyr.js/issues/1833/labels{/name}","comments_url":"https://api.github.com/repos/intel/zephyr.js/issues/1833/comments","events_url":"https://api.github.com/repos/intel/zephyr.js/issues/1833/events","html_url":"https://github.com/intel/zephyr.js/issues/1833","id":294991095,"number":1833,"title":"[ashell] 'grovelcd.js' module can't be found when running I2CBMP280.js","user":{"login":"xiaoyu3x","id":17694094,"avatar_url":"https://avatars2.githubusercontent.com/u/17694094?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyu3x","html_url":"https://github.com/xiaoyu3x","followers_url":"https://api.github.com/users/xiaoyu3x/followers","following_url":"https://api.github.com/users/xiaoyu3x/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyu3x/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyu3x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyu3x/subscriptions","organizations_url":"https://api.github.com/users/xiaoyu3x/orgs","repos_url":"https://api.github.com/users/xiaoyu3x/repos","events_url":"https://api.github.com/users/xiaoyu3x/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyu3x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-07T03:05:59Z","updated_at":"2018-02-08T05:20:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Issue description\r\n'grovelcd.js' module can't be found  when running [I2CBMP280.js](https://github.com/intel/zephyr.js/blob/master/samples/I2CBMP280.js) in ashell. \r\nIn fact, [GroveLCD.js](https://github.com/intel/zephyr.js/blob/master/modules/GroveLCD.js)  has been imported A101.\r\n\r\n## Test Code\r\n[I2CBMP280.js](https://github.com/intel/zephyr.js/blob/master/samples/I2CBMP280.js)\r\n[GroveLCD.js](https://github.com/intel/zephyr.js/blob/master/modules/GroveLCD.js)\r\n[BMP280.js](https://github.com/intel/zephyr.js/blob/master/modules/BMP280.js)\r\n\r\n## Steps to reproduce\r\n1.Flash ashell into 101 board, open minicom port `minicom -D /dev/ttyACM0`. \r\n2.Copy [GroveLCD.js](https://github.com/intel/zephyr.js/blob/master/modules/GroveLCD.js) and [BMP280.js](https://github.com/intel/zephyr.js/blob/master/modules/BMP280.js) to ashell.\r\n3.Copy [I2CBMP280.js](https://github.com/intel/zephyr.js/blob/master/samples/I2CBMP280.js) to ashell and run it.\r\n4.When running [I2CBMP280.js](https://github.com/intel/zephyr.js/blob/master/samples/I2CBMP280.js)  on Web IDE, get the same result as ashell\r\n\r\n## Actual Result\r\n\r\n(ERROR) failed to evaluate JS, NotSupporttedError: Module not found\r\n\r\n![selection_072](https://user-images.githubusercontent.com/17694094/35896101-8a4e4f9c-0bf5-11e8-829d-f2d2f89db8fe.png)\r\n\r\n\r\n## Expected Result\r\nI2CBMP280.js works normally and no error.\r\n\r\n\r\n## Test Build\r\nBranch| Commit id | Target Device |Test Date | Result \r\n---| ---| ---| ---|--- \r\nmaster | [ede4509](https://github.com/intel/zephyr.js/commit/ede4509d98da5f0187b82a7867fc0277641c4ba7) | Arduino 101 | Feb 7, 2018 | Fail "},"comment":{"url":"https://api.github.com/repos/intel/zephyr.js/issues/comments/364005712","html_url":"https://github.com/intel/zephyr.js/issues/1833#issuecomment-364005712","issue_url":"https://api.github.com/repos/intel/zephyr.js/issues/1833","id":364005712,"user":{"login":"xiaoyu3x","id":17694094,"avatar_url":"https://avatars2.githubusercontent.com/u/17694094?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyu3x","html_url":"https://github.com/xiaoyu3x","followers_url":"https://api.github.com/users/xiaoyu3x/followers","following_url":"https://api.github.com/users/xiaoyu3x/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyu3x/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyu3x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyu3x/subscriptions","organizations_url":"https://api.github.com/users/xiaoyu3x/orgs","repos_url":"https://api.github.com/users/xiaoyu3x/repos","events_url":"https://api.github.com/users/xiaoyu3x/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyu3x/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T05:20:29Z","updated_at":"2018-02-08T05:20:29Z","author_association":"CONTRIBUTOR","body":"No, it is not a regression.\r\nI just reproduced this issue on 0.5 branch"}}
{"actor":{"display_login":"xiaoyu3x"}}