moment error on install
Closed this issue · 2 comments
Crocsx commented
I installed the package on my angular 8.2.14 project, cause it looks light a lightweight addition to @angular/material
I have the following error after install.
ERROR in ./node_modules/ngx-mat-datetime-picker/fesm5/ngx-mat-datetime-picker.js
Module not found: Error: Can't resolve 'moment' in 'C:\Users\Crocsx\Documents\github\tjx-mission\node_modules\ngx-mat-datetime-picker\fesm5'
I tried to clear npm cache, redownload my modules etc.. but I need to npm install moment
manually to make it works.
Is it possible to make the lib work with Native Date ?
khalilou88 commented
I agree with @Crocsx this lib is better without moment. Nice work by the way.
h2qutc commented
Hi, this bug is fixed in version v2.0.1.