beenote / angular-material-datetimepicker

Date time picker for Angular Material JS
https://beenote.github.io/angular-material-datetimepicker
MIT License
44 stars 31 forks source link

Module 'ngMaterialDatePicker' is not available! #41

Closed nidhinkumar06 closed 6 years ago

nidhinkumar06 commented 6 years ago

Module 'ngMaterialDatePicker' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

When i run the code in dev-mode it works fine when i try to build the app using gulp serve: dist it shows me the error like mentioned above

hexadecy commented 6 years ago

@nidhinkumar06 There was no gulp serve task. To build gulp or gulp default

hexadecy commented 6 years ago

I was using lite-server, I've just added some shortcuts:

npm run dev
yarn run dev
gulp serve

It's based on browser-sync and served me pretty well for AngularJS app.