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

serving angular apps using "@nx/angular:browser-esbuild" executor fails #20273

Closed
1 of 4 tasks
atsjo opened this issue Nov 16, 2023 · 2 comments · Fixed by #20307
Closed
1 of 4 tasks

serving angular apps using "@nx/angular:browser-esbuild" executor fails #20273

atsjo opened this issue Nov 16, 2023 · 2 comments · Fixed by #20307
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@atsjo
Copy link

atsjo commented Nov 16, 2023

Current Behavior

serving angular apps using "@nx/angular:browser-esbuild" executor fails

Expected Behavior

serving angular apps using "@nx/angular:browser-esbuild" executor works

GitHub Repo

No response

Steps to Reproduce

  1. generate angular app
  2. change executor to "@nx/angular:browser-esbuild"
  3. serve app

Nx Report

Node   : 20.9.0
   OS     : win32-x64
   pnpm   : 8.10.5
   
   nx                 : 17.1.2
   @nx/js             : 17.1.2
   @nx/jest           : 17.1.2
   @nx/linter         : 17.1.2
   @nx/eslint         : 17.1.2
   @nx/workspace      : 17.1.2
   @nx/angular        : 17.1.2
   @nx/cypress        : 17.1.2
   @nx/devkit         : 17.1.2
   @nx/esbuild        : 17.1.2
   @nx/eslint-plugin  : 17.1.2
   @nrwl/tao          : 17.1.2
   @nx/web            : 17.1.2
   @nx/webpack        : 17.1.2
   typescript         : 5.2.2
   ---------------------------------------
   Community plugins:
   angular-calendar : 0.31.0

Failure Logs

>  NX   Cannot find builder 'browser-esbuild' in C:\Users\atles\source\repos\teve-no\task4s\node_modules\.pnpm\@nx+angular@17.1.2_@angular-devkit+build-angular@17.0.1_@angular-devkit+core@17.0.1_@angular-_jp5o4ccbscqpq5jdbv3bb4jgie\node_modules\@nx\angular\executors.json.

Package Manager Version

No response

Operating System

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

Additional Information

It works with "@angular-devkit/build-angular:browser-esbuild", but stopped working with "@nx/angular:browser-esbuild" in nx 17 (I think).

I can also find the "browser-esbuild" executor in the executors.json file provided in the error message...

@atsjo
Copy link
Author

atsjo commented Nov 16, 2023

btw: build works fine, also with buildLibsFromSource=false

Copy link

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 Dec 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants