wojtkowiak / meteor-desktop

Build a Meteor's desktop client with hot code push.
MIT License
448 stars 82 forks source link

_this.packager is not a function #248

Closed gunnartorfis closed 4 years ago

gunnartorfis commented 4 years ago

I'm not sure if this is a bug with meteor-desktop or electron-packager - or if I'm doing something wrong.

I run my app locally with: meteor --mobile-server=127.0.0.1:3000 in one tab and in another tab npm run desktop -- --scaffold And everything works as you'd expect.

But when I try to package my application to .app/.exe using npm run desktop -- package I get an error:

ERROR index: while trying to build a package an error occurred: TypeError: _this.packager is not a function

Am I missing something?

darqs commented 4 years ago

Hello @gunnartorfis,

I fixed the problem with import, but I don't know when it will be released

wojtkowiak commented 4 years ago

not sure if this is still relevant for you but should be fixed in 2.2.5

gunnartorfis commented 4 years ago

Thanks! That did the job 👏