Tello coding with Scracth
7196 6 2021-1-4
Uploading and Loding Picture ...(0/1)
o(^-^)o
newatthis21
New

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
2021-1-4
Use props
Montfrooij
Captain
Flight distance : 2560453 ft
  • >>>
Netherlands
Offline

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

Hong Kong
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!
2021-1-6
Use props
newatthis21
New

Ireland
Offline

Thanks. That worked perfectly

2021-1-7
Use props
RYZE
Super Moderator

Hong Kong
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!
2021-1-8
Use props
rintintin2
New

Italy
Offline

Ciao anche io ho lo stesso problema, ho scaricato la versione 8.0 ma non riesco a installarla. Mi potete aiutare?grazie
2022-12-5
Use props
ORFEAS MOSCHOPOULOS
New

Greece
Offline

Hallo, I have a similar problem I can’t code my TELLO with DroneBlocks or scratch, the drone is taking off and then it is not following the next blocks.

2023-5-18
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules