question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v12.1.2 breaks SSR compilation with multiple tsconfigs.

See original GitHub issue

Describe 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

  1. 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.
  2. Attempt to build the project and receive the error above.
  3. Downgrade to v12.1.1.
  4. 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

Screenshot

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
quinnjrcommented, Sep 30, 2021

Sorry for the late reply, but confirming that v12.1.3 also fixes the issue for me.

1reaction
just-jebcommented, Sep 30, 2021

Cool then, I’m graduating it. Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found