You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi.
At first. thank you for good package. this is very useful.
I`m newbie developer.. and not good talking with english... sorry.
I`m developing some meteor web app and I want to export client side code to desktop app with electron.
so, I tried with your good package, electrify.
build was completed successfully.
but, I tried to test with electrify.methods, electron app show me below error message.
when I run server, this log is shown.
I think this logs are occurred when socket is opened, isn`t it?
if so, is this electron app(client side) problem?
GET /electrify/info 3ms 200
GET /electrify/594/n5pxxchf/websocket 2ms (unfinished)
electrify:meteor:index@server: connection is open
Here is my index.js code
app.on('ready',function(){// electrify startelectrify.start(function(meteor_root_url){// creates a new electron windowwindow=newbrowser({width: 1200,height: 900,'node-integration': false,// node integration must to be offwebPreferences: {'allowDisplayingInsecureContent': true,// to show insecure contents'allowRunningInsecureContent': true},});// open up meteor root urlwindow.focus();window.loadURL(meteor_root_url);// open development toolswindow.webContents.openDevTools();// open web page smoothlywindow.once('ready-to-show',function(){window.show();});});});electrify.methods({'hello.world': function(firstname,lastname,done){//do somethingdone(null,"Hello "+firstname+' '+lastname+"!");}});
and then, when I run the electron app, got this error message
// error when run electron app
electrify:meteor:index@client: cannot initialize connection. Did you `npm install -g electrify`?
install it and try running your meteor app with `electrify` npm command
// error when I call Electrify.call('hello.world', ....)
err? Error: Cannot call methods, socket connection not initialized at (...)
msg? undefined
juceling
changed the title
ReferenceError: Electrify is not defined
electrify:meteor:index@client: cannot initialize connection. Did you npm install -g electrify?
Feb 23, 2017
hi.
At first. thank you for good package. this is very useful.
I`m newbie developer.. and not good talking with english... sorry.
I`m developing some meteor web app and I want to export client side code to desktop app with electron.
so, I tried with your good package, electrify.
build was completed successfully.
but, I tried to test with electrify.methods, electron app show me below error message.
I pacakged my app with electrify command
when I run server, this log is shown.
I think this logs are occurred when socket is opened, isn`t it?
if so, is this electron app(client side) problem?
Here is my index.js code
and here is my electrify.method call
and I installed electrify
and I installed arboleya:electrify
and then, when I run the electron app, got this error message
// error when run electron app
// error when I call Electrify.call('hello.world', ....)
my develop env
I don`t know why this is occured...
I think i installed all need packages and I write right source code...
and already I read #21
plz anybody tell me why this is happening..
The text was updated successfully, but these errors were encountered: