Module graph not found #2059
Replies: 11 comments
-
Posted at 2020-04-20 by Purple-Tentacle Full code here: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-20 by @gfwilliams Yes, the issue is the app loader isn't handling modules yet. If you upload this file: https://www.espruino.com/modules/graph.min.js to a Storage file called |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-20 by Purple-Tentacle Confirmed, then it is working. What to do in the meantime, add the graph module to the app? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-21 by @gfwilliams
Not yet. I'll probably just combine it with the minification changes by basically pulling in the Web IDE backend. I think the most sane solution is to just include it up the top of the source for now:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-21 by Purple-Tentacle
I will do that, thanks. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-19 by lada1k Hi, I'm using forked version of AppLoader. Is it still the best choice to include module into source as stated above? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-21 by @gfwilliams Actually the App Loader was updated several months ago, so there should be no need for this now. I believe any referenced modules should automatically get pulled in when they are referenced? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-21 by lada1k Because few days ago I forked "BangleApps" repository to dive deeper into Espruino ecosystem. I was not able to use "Vertical watch face" from forked repo until I've not inserted Font8x12 module directly into application. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-22 by @gfwilliams Odd - it shouldn't be needed. Are there any log messages in the chrome dev console that might help? If you're uploading a file named |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-23 by @gfwilliams Just looked into this and it's now fixed. I'm afraid a recent update to the app loader meant it stopped parsing code for modules in a lot of cases, but it's now sorted. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-24 by lada1k Yes, I can confirm. It work without module manually included. Thank You. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-20 by Purple-Tentacle
Hi,
I want to display a graph:
When uploading to RAM from IDE, the code works, the graph is displayed.
When installed as an application from the app loader, I get this error in IDE and the graph is not displayed:
Thanks
Christian
Beta Was this translation helpful? Give feedback.
All reactions