Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@nx/webpack:dev-server fails if onListening is not defined. #19362

Closed
4 tasks
tmc opened this issue Sep 28, 2023 · 1 comment · Fixed by #19363
Closed
4 tasks

@nx/webpack:dev-server fails if onListening is not defined. #19362

tmc opened this issue Sep 28, 2023 · 1 comment · Fixed by #19363
Labels
outdated scope: bundlers Issues related to webpack, rollup type: bug

Comments

@tmc
Copy link
Contributor

tmc commented Sep 28, 2023

Current Behavior

If no devServer.onListening function is defined then nx fails ala:

NX originalOnListen is not a function

Expected Behavior

Should not be an issue.

GitHub Repo

No response

Steps to Reproduce

  1. use @nx/webpack:dev-server with a simple webpack configuration with no onListening

Nx Report

>  NX   Report complete - copy this into the issue template

   Node   : 18.18.0
   OS     : darwin-arm64
   pnpm   : 8.8.0

   nx (global)        : 16.9.1
   nx                 : 16.9.1
   @nx/linter         : 16.9.1
   @nx/cypress        : 16.9.1
   @nx/eslint-plugin  : 16.9.1
   @nx/plugin         : 16.9.1
   @nrwl/tao          : 16.9.1
   @nx/webpack        : 16.9.1
   nx-cloud           : 16.4.0

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Copy link

github-actions bot commented Nov 5, 2023

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: bundlers Issues related to webpack, rollup type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants