{"action":"closed","issue":{"url":"https://api.github.com/repos/mobinni/material-date-picker/issues/47","labels_url":"https://api.github.com/repos/mobinni/material-date-picker/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/mobinni/material-date-picker/issues/47/comments","events_url":"https://api.github.com/repos/mobinni/material-date-picker/issues/47/events","html_url":"https://github.com/mobinni/material-date-picker/issues/47","id":110253703,"number":47,"title":"npm test fail : Module 'materialDatePicker' is not available! You either misspelled the module name or forgot to load it.","user":{"login":"alexliubj","id":447106,"avatar_url":"https://avatars.githubusercontent.com/u/447106?v=3","gravatar_id":"","url":"https://api.github.com/users/alexliubj","html_url":"https://github.com/alexliubj","followers_url":"https://api.github.com/users/alexliubj/followers","following_url":"https://api.github.com/users/alexliubj/following{/other_user}","gists_url":"https://api.github.com/users/alexliubj/gists{/gist_id}","starred_url":"https://api.github.com/users/alexliubj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexliubj/subscriptions","organizations_url":"https://api.github.com/users/alexliubj/orgs","repos_url":"https://api.github.com/users/alexliubj/repos","events_url":"https://api.github.com/users/alexliubj/events{/privacy}","received_events_url":"https://api.github.com/users/alexliubj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T15:36:18Z","updated_at":"2015-12-28T10:24:34Z","closed_at":"2015-12-28T10:24:34Z","body":"The date picker works but npm test failed due to the following reason.\r\n\r\nPhantomJS 1.9.8 (Mac OS X 0.0.0) Service: Template should do something FAILED\r\n\tError: [$injector:modulerr] Failed to instantiate module flynnFormApp due to:\r\n\tError: [$injector:modulerr] Failed to instantiate module materialDatePicker due to:\r\n\tError: [$injector:nomod] Module 'materialDatePicker' 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.\r\n\thttp://errors.angularjs.org/1.4.3/$injector/nomod?p0=materialDatePicker\r\n\t    at /Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:1960\r\n\t    at ensure (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:1882)\r\n\t    at module (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:2210)\r\n\t    at /Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:4362\r\n\t    at forEach (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:336)\r\n\t    at loadModules (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:4388)\r\n\t    at /Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:4363\r\n\t    at forEach (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:336)\r\n\t    at loadModules (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:4388)\r\n\t    at createInjector (/Users/alexliu/Flynn-Forms/client/bower_components/angular/angular.js:4272)\r\n\t    at workFn (/Users/alexliu/Flynn-Forms/client/bower_components/angular-mocks/angular-mocks.js:2393)\r\n"}}