You are reading a single comment by @Khadez and its replies. Click here to read the full conversation.
  • Hello

    I am using the WebIDE at https://www.espruino.com/ide/, but I keep getting the following error in my browser console:

    index.js:93682 Uncaught ReferenceError: require is not defined
        at index.js:93682:23
        at cb (index.js:93090:35)
        at Array.getGitHub (index.js:102904:7)
        at cb (index.js:93088:15)
        at Object.callProcessor (index.js:93093:5)
        at getURL (index.js:93638:14)
        at Object.getJSONURL (index.js:93747:5)
        at loadJSON (index.js:102094:25)
        at Array.<anonymous> (index.js:102086:9)
        at cb (index.js:93088:15)
    

    This also manifests so that when I try to connect to my PuckJS, it never finishes connecting and gets stuck on this screen that I attached.
    It seems to me that some part of the WebIDE code is trying to use require but cannot find that function since its not a native browser JS function, and crashes.

    Is this a known issue? It seems to me that this is also blocking me from loading extra modules like ble_hid_keyboard to my PuckJS. Do you know how I can mitigate this?

    Thanks in advance!


    1 Attachment

    • Screenshot 2024-06-17 135838.png
About

Avatar for Khadez @Khadez started