Please select Into the mobile phone version | Continue to access the computer ver.
Tello coding with Scracth
1281 4 1-4 08:53
Uploading and Loding Picture ...(0/1)
o(^-^)o
newatthis21
lvl.1

Ireland
Offline

Hi,

I can't get my  laptop(running windows 10) to connect to my Tello via node Tello.js. Tello.js starts normally but crashes as soon as I upload the scratch blocks. The error message says: events.js:292.
      throw er; // Unhandled 'error' event
      ^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at writeAfterEnd (_http_outgoing.js:668:15)
    at ServerResponse.end (_http_outgoing.js:788:7)
    at Server.<anonymous> (C:\Program Files (x86)\Scratch 2\tello.js:151:11)
    at Server.emit (events.js:315:20)
    at parserOnIncoming (_http_server.js:874:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
Emitted 'error' event on ServerResponse instance at:
    at writeAfterEndNT (_http_outgoing.js:727:7)
    at processTicksAndRejections (internal/process/task_queues.js:81:21) {
  code: 'ERR_STREAM_WRITE_AFTER_END'
}


I've been going round in circles with this. I've uninstalled and reinstalled the software, disabled the firewall. I suspect I'm missing something basic but I can't see it.

Any suggestions?

Thank you
1-4 08:53
Use props
Montfrooij
Captain
Flight distance : 1981040 ft
Netherlands
Offline

Looks like an interesting project!
Too bad I don't have a tello to try!
1-5 02:01
Use props
RYZE
Super Moderator

South Africa
Offline

Dear customer,
This problem is probably caused by not compatible version of node, please try the following solution.
1. Uninstall the node you have installed on your laptop, please clear it completely.
2. Enter official website of node and download a previous version, it is recommended node.js 8 or 10.

Hope my response could help you!
1-6 02:02
Use props
newatthis21
lvl.1

Ireland
Offline

Thanks. That worked perfectly

1-7 14:04
Use props
RYZE
Super Moderator

South Africa
Offline

newatthis21 Posted at 1-7 14:04
Thanks. That worked perfectly

Dear customer,
We are so happy to hear the good news!
Enjoy your flight!
1-8 03:23
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules