components icon indicating copy to clipboard operation
components copied to clipboard

'MomentDateAdapter' does not implement inherited abstract member 'fromIso8601'

Open Hugmungus opened this issue 9 years ago • 4 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Should build correctly

What is the current behavior?

Failing on build due to 'fromIso8901' being missing in current build of moment-date-adapter, but not in 'date-adapter.ts' base class found in the official material release 2.0.0-beta.12

What are the steps to reproduce?

Add the following to your package.json "@angular/material": "2.0.0-beta.12", "@angular/material-moment-adapter": "https://github.com/angular/material2-moment-adapter-builds",

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

Build needs to work appropriately

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

Angular - 5.0.0-rc.9 Material - 2.0.0-beta.12 Typescript - 2.5.3

Is there anything else we should know?

This was reported on the material2-moment-adapter-builds repository here. Per instructions on the home page of that repository, re-posting the issue here.

https://github.com/angular/material2-moment-adapter-builds/issues/1

Hugmungus avatar Nov 02 '17 17:11 Hugmungus

Pinning the version of material-moment-adapter will fix the problem for now. https://github.com/angular/material2-moment-adapter-builds.git#2.0.0-beta.12-00de3f6

After it's released officially it will work fine with Angular Material.

rthewhite avatar Nov 03 '17 09:11 rthewhite

It works!! Thanks, @rthewhite.

IagoBarboza avatar Nov 03 '17 18:11 IagoBarboza

Closing this since there's no code change to be made, just needs a release

jelbourn avatar Nov 03 '17 22:11 jelbourn

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.