-
• #2
I forgot to say that Im using Google Chrome.
But, I tried again in Incognito, and now it works fine.
I think the problem has to be on my end, but I cant figure out what. 🤔 -
• #3
Do you have
AdBlock
or something like that installed? That could be the issue? -
• #4
Hey, sorry I disappeared, went on holiday. :D
I have AdGuard but I tried without it or any other extension and it still didnt work. I have a digital signature extension that I cannot disable tho, but that hasnt caused problems before.
Anyway, I've gotten used to just using incognito and that works fine, so no problem. The issue is clearly on my end, but I cant figure out what it is.I'll paste the full log, just in case its helpful (my device name is "jukuklaver"):
>>> Connecting... index.js:96721 Set Slow Write = true ('Throttle Send'='Auto') index.js:96721 BT> Starting device chooser index.js:96721 >>> Connecting to jukuklaver index.js:96721 BT> Device Name: jukuklaver index.js:96721 BT> Device ID: 1BNcodfVJ4jAWWdSA9mP8w== index.js:96721 >>> Connected to BLE index.js:96721 BT> Connected index.js:96721 >>> Configuring BLE... index.js:96721 BT> Got service index.js:96721 >>> Configuring BLE.... index.js:96721 BT> RX characteristic:{} index.js:96721 >>> Configuring BLE.... index.js:96721 >>> Configuring BLE..... index.js:96721 BT> TX characteristic:{} index.js:96721 >>> Configuring BLE..... index.js:96721 Set Slow Write = false (forced) index.js:96721 >>> BLE configured. Receiving data... index.js:96721 Connected {portName: 'jukuklaver'} index.js:96721 Received a prompt after sending newline... good! index.js:96721 >>> Sending... index.js:96721 ---> "\u0010print(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\")\n" index.js:96721 >>> Sent index.js:96721 BT> Received packet of length 50 - assuming increased MTU index.js:96721 >>> Receiving... index.js:96721 Got "< << {\"VERSION\":\"2v22\",\"GIT_COMMIT\":\"eaa0674f7\",\"BOARD\":\"PUCKJS\",\"RAM\":65536,\"FLASH\":524288,\"HWVERSION\":2.1,\"STORAGE\":40960,\"SERIAL\":\"fe119172-ddb79c1c\",\"CONSOLE\":\"Bluetooth\",\"MODULES\":\"Flash,Storage,heatshrink,net,dgram,http,NetworkJS,crypto,neopixel\",\"EXPTR\":440704} >> >\r\n>" index.js:96721 >>> index.js:96721 [notify_info] Found PUCKJS, 2v22 index.js:96721 Loading https://www.espruino.com/json/PUCKJS.json index.js:97263 Uncaught ReferenceError: require is not defined at index.js:97263:23 at cb (index.js:96671:35) at Array.getGitHub (index.js:106545:7) at cb (index.js:96669:15) at Object.callProcessor (index.js:96674:5) at getURL (index.js:97219:14) at Object.getJSONURL (index.js:97328:5) at loadJSON (index.js:105735:25) at Array.<anonymous> (index.js:105727:9) at cb (index.js:96669:15)
Thanks for the quick reply
Hello
I am using the WebIDE at https://www.espruino.com/ide/, but I keep getting the following error in my browser console:
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