bennymeg / nx-electron

Electron schematics for nrwl nx platform
Apache License 2.0
331 stars 85 forks source link

ws.readExecutor is not a function #263

Closed LucasMontero closed 1 year ago

LucasMontero commented 1 year ago

Describe the bug

After updating from version 16.0.0 to 16.1.0 the error ws.readExecutor is not a function appears when you run nx run application:serve being serve:

    "serve": {
      "executor": "nx-electron:execute",
      "options": {
        "buildTarget": "application:build"
      }
    },

To Reproduce Steps to reproduce the behavior:

  1. Build main and renderer processes
  2. Serve main process.

Expected behavior

Application should start with normality.

Screenshots

image

Desktop (please complete the following information):

Additional context

The error doesn't appear on a packaged application.

LucasMontero commented 1 year ago

After further testing, I couldn't relate this error to nx-electron. I proceed to close the issue.