Can't load Layout module. #6591
Replies: 1 comment
-
Posted at 2024-02-02 by arthurgleckler I'm wondering whether the problem is just that my code isn't being loaded by the IDE when I hit the
Posted at 2024-02-02 by @thyttan Does reading through the modules README maybe give you an idea? You probably already have, but just want to make sure we're on the same page. Posted at 2024-02-02 by @gfwilliams As above, try changing your search path to The Posted at 2024-02-03 by arthurgleckler Thanks for all of your help. I had already studied the modules README carefully and at length. I had also checked my search path. But those were good ideas. Over night, I got another idea, and it worked: I cleared all of my cookies from However, all Whew! I don't know how many times I'm going to have to learn this lesson: whenever something doesn't work, just turn it off and on again before trying anything else. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2024-02-02 by arthurgleckler
I updated all the apps on my watch for the first time in months, and now I'm unable to use the web IDE to load the custom Bangle.js 2 watch face I wrote that has been working fine for over a year. I'm probably missing something obvious, but I haven't been able to figure out the problem after hours of trying. The basic problem is that
require("Layout")
fails withUncaught Error: Module "Layout" not found
. When I look at the IDE's "board information" in Settings (see below), it shows the correct board, i.e.BANGLEJS2
, butMODULES
doesn't includeLayout
. But the documentation still talks aboutLayout
, and that library is used in many examples, so it doesn't appear to have been deprecated. Am I missing something obvious?Thanks very much.
VERSION 2v20
GIT_COMMIT fcc9ba4f1
BOARD BANGLEJS2
RAM 262144
FLASH 1048576
SPIFLASH 8388608
HWVERSION 2
STORAGE 8388608
SERIAL 76b4caad-5ff7556e
CONSOLE Bluetooth
MODULES Flash,Storage,heatshrink,crypto,tensorflow,locale
EXPTR 495068
APP_RAM_BASE 536884832
Beta Was this translation helpful? Give feedback.
All reactions