haxetink / tink_tcp

TCP everywhere!
MIT License
13 stars 6 forks source link

[nodejs] Connection.hx not implemented for current platform #14

Closed sh-dave closed 10 months ago

sh-dave commented 4 years ago

Hi, i'm trying to use tink_tcp in a nodejs based project, but i'm unable to compile it

/home/dklein/haxe/haxe_libraries/tink_tcp/0.1.1/github/b0961db4db515d6f695a23b09234412dbbbd09f7/src/tink/tcp/Connection.hx:127: characters 7-13 : Not implemented for current platform

I tried to add -D nodejs (even though hxnodejs already does this via --macro define('nodejs') in extraParams.hxml i think), but then i get:

/home/dklein/haxe/haxe_libraries/tink_http/0.9.1/haxelib/src/tink/http/Request.hx:100: characters 50-78 : You cannot access the js package while in a macro (for js.node.http.IncomingMessage)