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.

Obscure ERROR in component is missing a template message

See original GitHub issue

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 8.3.22

Description

It is possible to build the app without errors in Angular 8 but when I try to build in the Angular 9 RC an obscure error message is provided. If this error message was to specify which component has a missing template it would be more useful.

🔬 Minimal Reproduction

I ran ng build

🔥 Exception or Error


ERROR in component is missing a template

🌍 Your Environment


Angular CLI: 9.0.0-rc.8
Node: 12.14.1
OS: win32 x64

Angular: 9.0.0-rc.8
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-rc.8
@angular-devkit/build-angular     0.900.0-rc.8
@angular-devkit/build-optimizer   0.900.0-rc.8
@angular-devkit/build-webpack     0.900.0-rc.8
@angular-devkit/core              9.0.0-rc.8
@angular-devkit/schematics        9.0.0-rc.8
@ngtools/webpack                  9.0.0-rc.8
@schematics/angular               9.0.0-rc.8
@schematics/update                0.900.0-rc.8
rxjs                              6.5.4
typescript                        3.6.4
webpack                           4.41.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mjpoocommented, Jan 14, 2020

Many thanks for that @AndrewKushnir . Keep up the good work.

0reactions
angular-automatic-lock-bot[bot]commented, Feb 28, 2020

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular component is missing a template - Stack Overflow
The obscure error message is a bug with the Angular 9 release candidate which they are investigating:.
Read more >
[Solved]-Angular component is missing a template-angular.js
The obscure error message is a bug with the Angular 9 release candidate which they are investigating: https://github.com/angular/angular/issues/34725.
Read more >
Error Messages for Pages Without Data in Experience Builder
When you build a template-based page using Lightning components in Experience Builder, sometimes the page doesn't load correctly. Find out why you see...
Read more >
Error occurred trying to load the template for preview: Attempt ...
The general reason for this error is that the VF email template previewer doesn't have enough information to pass to the component's ......
Read more >
Unable to create a new app due to 401 error or missing ...
A 401 error when authentication fails after client request. Message "Install the new app template to start creating Reactive Web apps".
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