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
After migrating to Nx v19.2.1, you encounter the following error when building Angular libraries using @nx/angular i get the following error
TypeError: (intermediate value).compileString is not a function
at StylesheetProcessor.renderCss
Expected Behavior
After migrating to Nx v19.2.1, I expected to be able to build my Angular libraries using @nx/angular just as I could in version 18.3.4.
GitHub Repo
No response
Steps to Reproduce
Have a integrated angular workspace (version 18.3.4 for me before migration)
------------------------------------------------------------------------------
Building entry point '@thula/core'
------------------------------------------------------------------------------
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
NX (intermediate value).compileString is not a function
TypeError: (intermediate value).compileString is not a function
at StylesheetProcessor.renderCss (C:\src\emed\Client\node_modules\@nx\angular\src\executors\package\ng-packagr-adjustments\styles\stylesheet-processor.js:144:47)
at async StylesheetProcessor.process (C:\src\emed\Client\node_modules\@nx\angular\src\executors\package\ng-packagr-adjustments\styles\stylesheet-processor.js:86:29)
at async Object.readResource (C:\src\emed\Client\node_modules\ng-packagr\lib\ts\cache-compiler-host.js:147:37)
at async Promise.all (index 2)
at async Promise.all (index 0)
at async Promise.all (index 0)
at async file:///C:/src/emed/Client/node_modules/@angular/compiler-cli/bundles/chunk-M65TNV27.js:6910:7
at async NgCompiler.analyzeAsync (file:///C:/src/emed/Client/node_modules/@angular/compiler-cli/bundles/chunk-M65TNV27.js:6898:5)
at async compileSourceFiles (C:\src\emed\Client\node_modules\@nx\angular\src\executors\package\ng-packagr-adjustments\ngc\compile-source-files.js:122:5)
at async C:\src\emed\Client\node_modules\@nx\angular\src\executors\package\ng-packagr-adjustments\ng-package\entry-point\compile-ngc.transform.js:54:13
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
After migrating to Nx v19.2.1, you encounter the following error when building Angular libraries using @nx/angular i get the following error
TypeError: (intermediate value).compileString is not a function
at StylesheetProcessor.renderCss
Expected Behavior
After migrating to Nx v19.2.1, I expected to be able to build my Angular libraries using @nx/angular just as I could in version 18.3.4.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: