You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, installing via npm and trying to use the module yields:
ReferenceError: moment is not defined
at link (http://localhost:3001/node_modules/material-date-picker/build/mbdatepicker.js:54:19)
at http://localhost:3001/node_modules/angular/angular.js:8598:44
at invokeLinkFn (http://localhost:3001/node_modules/angular/angular.js:8604:9)
at nodeLinkFn (http://localhost:3001/node_modules/angular/angular.js:8113:11)
at compositeLinkFn (http://localhost:3001/node_modules/angular/angular.js:7514:13)
at compositeLinkFn (http://localhost:3001/node_modules/angular/angular.js:7518:13)
at compositeLinkFn (http://localhost:3001/node_modules/angular/angular.js:7518:13)
at publicLinkFn (http://localhost:3001/node_modules/angular/angular.js:7388:30)
at compile (http://localhost:3001/node_modules/angular-ui-router/release/angular-ui-router.js:4026:9)
at invokeLinkFn (http://localhost:3001/node_modules/angular/angular.js:8604:9) <mb-datepicker element-id="date1" input-class="testClass" input-name="testName" arrows="arrows" calendar-header="header" date="date" date-format="YYYY-MM-DD" class="ng-isolate-scope">
Installing and including Moment manually resolves the issue.
The text was updated successfully, but these errors were encountered:
Currently, installing via npm and trying to use the module yields:
Installing and including Moment manually resolves the issue.
The text was updated successfully, but these errors were encountered: