You are reading a single comment by @MarcoM and its replies. Click here to read the full conversation.
  • Hi MaBe
    if i write this

    save(); var http = require("http");
    http.createServer(function (req, res) {
      res.writeHead(200);
      res.end("Hello World"); 
    }).listen(8080);
    

    i get this

     http://espruino.com
     1v84.tve_master_588d193 Copyright 2015 G.Williams
    WARNING: the esp8266 port is in beta!
    Flash map 4MB:512/512, manuf 0xe0 chip 0x4016
    >echo(0);
    Erasing Flash.....
    Writing...
    Compressed 12276 bytes to 702
    CheckUncaught ReferenceError: "s" is not defined
     at line 1 col 2
    s.writeHead(200);
     ^
    

    And after if i load()
    it stays

    >load()
    =undefined
    Loading 702 bytes from flash...
    

    without doing nothing forcing me to switch reboot the esp

About

Avatar for MarcoM @MarcoM started