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

Compile error Module not found: Error: Can't resolve 'moment-es6' Angular 8 #14

Closed
Vaibhav2812 opened this issue Jun 13, 2020 · 1 comment

Comments

@Vaibhav2812
Copy link

package.json:
"@libusoftcicom/lc-datepicker": "^1.5.2";
"moment": "^2.25.3";

even I used moment 2.24, the same error coming.

@pIvan
Copy link
Contributor

pIvan commented Jun 15, 2020

Hi @Vaibhav2812,
if you check the library package.json you can see how "moment-es6": "1.0.0" is peerDependency, so what you need is to add same as dependency in your project.

Kind regards,
Ivan

@pIvan pIvan closed this as completed Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants