components icon indicating copy to clipboard operation
components copied to clipboard

MdTableModule missing from @angular/material

Open jimmykane opened this issue 9 years ago • 12 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

MdTableModule

What is the current behavior?

MdTableModule is not in Angular material and editor tries to import it from types

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: https://goo.gl/DlHd6U

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Latest (as of this time) ^2.0.0-beta.8

Is there anything else we should know?

jimmykane avatar Jul 07 '17 12:07 jimmykane

To be more specific: Where I import all the MD modules, in my app module, the MdTableModule cannot be imported. I cannot understand what I am doing wrong here and why would the editor try to autoimport it from @types .

jimmykane avatar Jul 07 '17 13:07 jimmykane

This plunker demos being able to import MDTableModule from @angular/material

https://plnkr.co/edit/C3YN0x2qrMaqcD6izvK7?p=preview

Did you wipe and reinstall your node modules?

willshowell avatar Jul 07 '17 14:07 willshowell

I ll do that @willshowell I am on the road atm. Thanks will report back.

jimmykane avatar Jul 07 '17 14:07 jimmykane

rm -fR node_modules npm instlall

Solved my problem... and so I'm going to migrate to npm 5 from 3 ...
Other problems there is, but not this.

campa avatar Jul 07 '17 14:07 campa

@campa So you also had this issue?

jimmykane avatar Jul 07 '17 14:07 jimmykane

Solved. It was my fault

campa avatar Jul 07 '17 14:07 campa

It's definitely there. I recommend clearing your node_modules and your package-lock.json if you're using npm 5 before re-installing (npm 5 seems to prefer the package lock even if you update the package.json)

jelbourn avatar Jul 07 '17 16:07 jelbourn

Yes it was. Sorry for the delay and @jelbourn great work guys! You rock!

jimmykane avatar Jul 07 '17 20:07 jimmykane

Hi, i dont know if its an issue but the tableModule and also SortModule i noticed are only part of the last beta.8 version

I pulled the beta.7 as beta.8 seems broken for the moment andthey are not part of the previous version :'(

Chrisis52 avatar Jul 12 '17 14:07 Chrisis52

I had similar problems (missing MdTableModule) with beta 2.0.0-beta.8 and webpack 2.7. I repeated npm install @angular/material and it worked. bizarre

mustafaekim avatar Jul 14 '17 11:07 mustafaekim

I had the same problem, was using beta.6 version; switching to beta.8 solved!

ptagl avatar Jul 24 '17 10:07 ptagl

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.