Closed xiaoyu3x closed 6 years ago
Is this a regression? Was this broken for 0.5 release or after?
No, it is not a regression. I just reproduced this issue on 0.5 branch
This issue isn't reproduced with PR #1846 and it will be closed until PR is merged.
Issue description
'grovelcd.js' module can't be found when running I2CBMP280.js in ashell. In fact, GroveLCD.js has been imported A101.
Test Code
I2CBMP280.js GroveLCD.js BMP280.js
Steps to reproduce
1.Flash ashell into 101 board, open minicom port
minicom -D /dev/ttyACM0
. 2.Copy GroveLCD.js and BMP280.js to ashell. 3.Copy I2CBMP280.js to ashell and run it. 4.When running I2CBMP280.js on Web IDE, get the same result as ashellActual Result
(ERROR) failed to evaluate JS, NotSupporttedError: Module not found
Expected Result
I2CBMP280.js works normally and no error.
Test Build