You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nx doesn't work with Angular 18.0.0-rc. An error appears when starting the project:
> nx run simple-web:serve:development
NX Unable to resolve @angular-devkit/build-angular:application.
The "path" argument must be of type string. Received undefined
Error: Unable to resolve @angular-devkit/build-angular:application.
The "path" argument must be of type string. Received undefined
at WrappedWorkspaceNodeModulesArchitectHost.readExecutor (/mnt/Storage/Development/angular/simple/node_modules/nx/src/adapter/ngcli-adapter.js:840:23)
at WrappedWorkspaceNodeModulesArchitectHost.resolveBuilder (/mnt/Storage/Development/angular/simple/node_modules/nx/src/adapter/ngcli-adapter.js:793:38)
at name (/mnt/Storage/Development/angular/simple/node_modules/@angular-devkit/architect/src/architect.js:220:40)
at Observable._subscribe (/mnt/Storage/Development/angular/simple/node_modules/@angular-devkit/architect/src/jobs/create-job-handler.js:104:26)
at Observable._trySubscribe (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/Observable.js:41:25)
at /mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/Observable.js:35:31
at Object.errorContext (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
at Observable.subscribe (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
at /mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js:17:63
at OperatorSubscriber._this._next (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
The "path" argument must be of type string. Received undefined
Error: Unable to resolve @angular-devkit/build-angular:application.
The "path" argument must be of type string. Received undefined
at WrappedWorkspaceNodeModulesArchitectHost.readExecutor (/mnt/Storage/Development/angular/simple/node_modules/nx/src/adapter/ngcli-adapter.js:840:23)
at WrappedWorkspaceNodeModulesArchitectHost.resolveBuilder (/mnt/Storage/Development/angular/simple/node_modules/nx/src/adapter/ngcli-adapter.js:793:38)
at name (/mnt/Storage/Development/angular/simple/node_modules/@angular-devkit/architect/src/architect.js:220:40)
at Observable._subscribe (/mnt/Storage/Development/angular/simple/node_modules/@angular-devkit/architect/src/jobs/create-job-handler.js:104:26)
at Observable._trySubscribe (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/Observable.js:41:25)
at /mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/Observable.js:35:31
at Object.errorContext (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
at Observable.subscribe (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
at /mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js:17:63
at OperatorSubscriber._this._next (/mnt/Storage/Development/angular/simple/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
Angular 18 is still not supported by Nx (see supported versions). Note that Angular 18 is still not released (you're trying a pre-release version). We are already working on adding support for it (#22509), so shortly after the Angular 18 stable version is out, Nx will have support for it.
Current Behavior
Nx doesn't work with Angular 18.0.0-rc. An error appears when starting the project:
Expected Behavior
The app should run without errors
GitHub Repo
https://github.com/Fafnur/nx-anugular-18-rc-issue
Steps to Reproduce
p.s. Angular 17.* is work fine.
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
On [email protected] at same
The text was updated successfully, but these errors were encountered: