nx-electron icon indicating copy to clipboard operation
nx-electron copied to clipboard

Unable to publish to nucleus

Open MJperx opened this issue 1 year ago • 0 comments

Describe the bug I am trying to publish my app with a custom publisher but the configuration generated is not correct

To Reproduce When running the following command line :

nx run ui-electron:make --publishPolicy=always

Error message

Error: Cannot find module '~/ui/node_modules/electron-publisher-custom/dist/index.js'. Please verify that the package.json has a valid "main" entry

My project.json

"publish": {
          "provider": "custom",
          "host": "http://localhost:8080",
          "appId": 1,
          "channelId": "my_channel_id",
          "token": "my_token",
          "providerName": "nautilus"
        }

MJperx avatar Aug 17 '22 08:08 MJperx