Web IDE problems?

Posted on
  • Has anyone had any issues with the new Web IDE? That is, apart from the current lack of code hints?

    Just this morning I had an issue where the IDE screen went white after connecting. I've never had it before so I wonder if it's a Chrome update that's changed something...

    But please let me know if you get this too!

  • Maybe not quite a problem with the screen but strange behavior. I can not download three of my own modules. Two can, and the third one, it does not matter which one - does not load.
    And a weird message in the console:

    .........
    F3C66A9BC06A4E512CEFA4F652750:projects"}­

    • my-gpio-expander requires []
      [notify_info] No error. Minified 1109 bytes to 671 bytes.
    • my-at requires []
      [notify_info] No error. Minified 5452 bytes to 1685 bytes.
      loadModule(my-atsms)
      Searching for modules/my-atsms.min.js
      modules/my-atsms.min.js not found in offline archive
      ERROR: Found module, but search took too long.
      ERROR: getURL("https://www.espruino.com/modules/my-atsm­s.min.js") error : Not Found
      Searching for modules/my-atsms.js
      modules/my-atsms.js not found in offline archive
      ERROR: getURL("https://www.espruino.com/modules/my-atsm­s.js") error : Not Found
      WARNING: [notify_warn] Module my-atsms not found
      Found a prompt... great!
      >>> Sending...
      .......
  • Could you try turning off 'offline mode' in the IDE? That might help you I guess?

  • I work online all the time... By the way, I tried both modes with the same results ...

  • I found a way to circumvent it. I cut the path to the sandbox projects folder. It was "D: \ MyDocum \ MyProjects \ STM32F4-Discovery \ javascript \ projects" and it is now "D: \ MyDocum \ Espruino \ projects". In principle, you need to pay attention to this problem as a bug ...

  • And still it does not find the module from time to time ...

  • I work online all the time...

    But have you turned Enable offline mode on in the IDE's settings? Because as far as I can tell, to get the message ... not found in offline archive you have to have that option turned on.

  • No, I have this option turned off all the time... except that switched on for a short time to check that in this mode it does not work normally too ...

  • I tried an old netbook with windows xp, intel atom and 1GB of RAM and the web IDE practically does not work and does not even see any one module ... Although my main PC is windows 10, intel core i3 and 4 gb RAM, but it seems to me, that it is the problem with the speed of the computer ... What are the basic PC requirements of the Web IDE?

  • The IDE itself works usably on a Raspberry pi which is ~700MHz, 512MB RAM - so I'd have thought the netbook would be ok.

    However the ERROR: Found module, but search took too long. could be related to the speed of the computer. The offline mode being enabled somehow (no idea how if it's not in the settings) won't help though.

    the web IDE practically does not work and does not even see any one module

    What do you mean? You can't connect to the hardware, or it's finding software modules that is the issue?

  • Connect to the hardware seems OK... The console shows lines from previously loaded program, but after the command "Send to Espruino" it completely freezes, so I stopped further attempts with my netbook ...

  • Ok. I just fixed what I hope is the ERROR: Found module, but search took too long error - it seemed to be related to the projects.

    If you download the absolute latest version from https://github.com/espruino/EspruinoWebI­DE then it should work for you.

  • Something I have noticed is that the upload progress bar (right down corner) is almost instant in the new version (0.68.6), while previously it would go more slowly if I remember correctly. I'm just mentioning this because it may reflect some of the problems I'm having when uploading code (>2000 bytes), where I'd get frequent exceptions (even with code that doesn't run while uploading).

    Of course this may be related to my code or have something to do with my system, so it's more possible that this is not related to anything, just a thought. I'm controlling puck through Raspberry Pi btw.

  • Interesting - so you're using the Web IDE on a Raspberry Pi, as a Chrome Web App, or just https://www.espruino.com/ide/ with Web Bluetooth?

    I noticed the progress bar wasn't there on the Windows NW.js port, but assumed that was related to the Noble backend - it's still there for me on the online IDE when using Web Bluetooth.

  • If you download the absolute latest version from https://github.com/espruino/EspruinoWebI­DE then it should work for you.

    Thanks, it works...

  • Great! Hopefully I'll get a proper release out there soon.

  • I'm controlling puck through EspruinoHub on Raspberry Pi Zero W, and raspberrypi.local:1888/ide/ on Chrome (on my pc). As I said, it's probably nothing, just mentioned it because it used to take some seconds for the bar to complete (depending on the size of the code), it would fill gradually, while now it goes instantly to full and then disappears.

  • That really is strange - I just gave it a try through EspruinoHub here and it still works great with the progress bar...

  • @Gordon probably is something related to my system then, not a big deal anyway :)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Web IDE problems?

Posted by Avatar for Gordon @Gordon

Actions