I'm trying to require the 'net' node module for make works a NoobHub client (sockets) in my Nativescript app, without success. I have installed with tns plugin add nativescript-nodeify and I included require("nativescript-nodeify"); before var net = require('net'), and the app still crashes.
I'm trying to require the 'net' node module for make works a NoobHub client (sockets) in my Nativescript app, without success. I have installed with
tns plugin add nativescript-nodeify
and I includedrequire("nativescript-nodeify");
beforevar net = require('net')
, and the app still crashes.I'd really appreciate any help, thanks.