When I try use node module "net" in main-page.js like this
var net = require("net");
I get runtime error. As I wrote in issues here I still cant run app with tns run ios --emulator but i can run it in xcode from xcodeproject file in platforms/ios. So I see this error only in debug mode in xcode (while app in emulator show me start screen with "NativeScreen" icon). In xcode debug screen with assembler-like view i see this:
Thread 1: EXC_BAD_ACCESS (code=1, address=0xbbadveef)
When I delete statement 'var net = require("net");` app works fine.
So whats wrong here?
When I try use node module "net" in main-page.js like this
var net = require("net");I get runtime error. As I wrote in issues here I still cant run app with
tns run ios --emulatorbut i can run it in xcode from xcodeproject file inplatforms/ios. So I see this error only in debug mode in xcode (while app in emulator show me start screen with "NativeScreen" icon). In xcode debug screen with assembler-like view i see this:Thread 1: EXC_BAD_ACCESS (code=1, address=0xbbadveef)When I delete statement 'var net = require("net");` app works fine.
So whats wrong here?