v12.1.2 breaks SSR compilation with multiple tsconfigs.
See original GitHub issueDescribe the Bug
On v12.1.2
, my SSR application fails to build when running npm run dev:ssr
with the error:
Called with multiple tsconfigs.
The error is not present in v12.1.1
and the application compiles as expected.
I’ve tested downgrading from v12.1.2
to v12.1.1
on two projects and can confirm the issue is present in both projects.
The error seems to be thrown from here
Minimal Reproduction
- Install
v12.1.2
in a project using@angular-builders/custom-webpack:server
to compile the server and@angular-builders/custom-webpack:browser
for the browser application. - Attempt to build the project and receive the error above.
- Downgrade to
v12.1.1
. - Attempt to build the project (which should succeed)
Expected Behavior
The Angular application should compile both the frontend and server portions of the project correctly without errors.
Screenshots
Environment
Libs
- @angular/core version: ^12.2.6
- @angular-devkit/build-angular version: ^12.2.6
- @angular-builders/custom-webpack: 12.1.2
For Tooling issues:
- Node version: v14.15.4
- Platform: Linux
Others:
- PNPM version: 6.13.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
v12.1.2 breaks SSR compilation with multiple tsconfigs.
On v12.1.2 , my SSR application fails to build when running npm run dev:ssr with the error: Called with multiple tsconfigs.
Read more >Support for multiple tsconfig.json per project #3645 - GitHub
Such modules usually splited into multiple files (internal modules), but would be compiled into one big file during compilation stage.
Read more >Meteor 1.10.1 breaks Angular integration when AOT is enabled
Hi there, TLDR: Meteor 1.10.1 + Angular with AOT enabled breaks with method ... Failed at the node-sass@4.7.2 postinstall script. npm ERR!
Read more >Gatsby Changelog | 5.3.0
Gatsby's build process is composed of multiple steps (see our documentation for more details) and one step that will increase in time with...
Read more >how to use multiple tsconfig files (with conflicting compiler ...
It is possible to override that configuration in my tsconfig.worker.json and to compile with the new settings. But for autocompletion and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for the late reply, but confirming that v12.1.3 also fixes the issue for me.
Cool then, I’m graduating it. Thanks!