Electron-builder: Unknown argument: em

Created on 22 Mar 2018  路  1Comment  路  Source: electron-userland/electron-builder


  • Version:
    20.5.1

  • Target: macOS


Hey guys, I'm trying to run the command

electron-builder --em.main=./build/electron/electron.js

but it says

Unknown argument: em

In the examples though, it shows it like this:

  electron-builder --em.foo=bar             set package.json property `foo` to

which seems to be the same as what i'm doing. What's up with that?

duplicate

Most helpful comment

Use that instead electron-builder -c.extraMetadata.main = build / electron.js .
Take a look at the same issue https://github.com/electron-userland/electron-builder/issues/2657

>All comments

Use that instead electron-builder -c.extraMetadata.main = build / electron.js .
Take a look at the same issue https://github.com/electron-userland/electron-builder/issues/2657

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iklemm picture iklemm  路  3Comments

leo picture leo  路  3Comments

AidanNichol picture AidanNichol  路  3Comments

StickNitro picture StickNitro  路  3Comments

NPellet picture NPellet  路  3Comments