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.

Erros in compilation - looks like it's internal to material

See original GitHub issue

Bug, feature request, or proposal:

I just installed 5.2.0, you have probably already seen this, but just in case

I get this compilation errors:

ERROR in node_modules/@angular/material/expansion/typings/expansion-panel.d.ts(36,14): error TS2314: Generic type 'TemplatePortal<C>' requires 1 type argument(s).
node_modules/@angular/material/tabs/typings/tab-body.d.ts(62,15): error TS2314: Generic type 'TemplatePortal<C>' requires 1 type argument(s).
node_modules/@angular/material/tabs/typings/tab.d.ts(28,23): error TS2314: Generic type 'TemplatePortal<C>' requires 1 type argument(s).

Here’s the red:

screenshot 2018-02-06 16 26 53

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:25 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
julianobrasilcommented, Feb 7, 2018

@angular/cdk: 5.0.2

@ORESoftware, upgrade @angular/cdk => 5.2.0. Currently, it must match material version and TemplatePortal is part of cdk.

1reaction
willshowellcommented, Feb 8, 2018

I wouldn’t say reliable but here is one option to update all your angular deps to latest. Maybe a start?

cat package.json | grep '@angular/' | sed 's/"//' | sed -E 's/".+//' | xargs npm update
Read more comments on GitHub >

github_iconTop Results From Across the Web

What do internal compiler error messages mean, and what ...
An internal compiler error is a bug in the compiler. There's not much you can do short of raising the problem with the...
Read more >
Making Sense of Common C# Compiler Errors - Kill All Defects
This occurs when a developer creates a duplicate method or property with an identical signature consisting of a return type and parameter types....
Read more >
Material compiler exception when using Optimization::NONE ...
Turning off optimization in the material compiler throws exceptions during the GLSL compilation at runtime. For example: E/Filament: COMPILE ...
Read more >
Error in multiphysics compilation - COMSOL
I was using 24GB machines and first got out I memory errors (heapspace problems) then "error in multiphysics compilation" (issues with retained ...
Read more >
Compile Errors - Valve Developer Community
This occurs when some part of your map is touching, or is out of the hammer map grid. Move away from the edges...
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