Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace '"*"' has no exported member 'MomentFormatSpecification' #862

Open
manzajaro opened this issue May 24, 2020 · 4 comments
Open

Comments

@manzajaro
Copy link

manzajaro commented May 24, 2020

Hi,

I am doing a project in ionic 4, but it gives me all the time the image error when I compile.

import * as momentTz from 'moment-timezone';

"moment": "^2.26.0",
"moment-timezone": "^0.5.31",

image

Thanks

@ichernev
Copy link
Contributor

Well the moment-timezone TS spec imports the moment TS spec and uses some interfaces. I don't really know what is supposed to happen, but other users are not complaining.

@ichernev
Copy link
Contributor

@manzajaro if you can provide some simple steps to reproduce (i.e set up environment). You don't expect everybody on our team to know what ionic is and how to use it (assuming it still exists 2 years later :)).

@Pradeepd15594
Copy link

i am getting same issue

@gilmoreorless
Copy link
Member

This could be due to conflicting versions of the core moment library appearing in your dependency tree. See this comment for a detailed explanation — it might fix compilation issues like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants