Guest User

Untitled

a guest
Apr 25th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. import { CalendarModule } from 'primeng/components/calendar/calendar'
  2.  
  3. @NgModule({
  4. CalendarModule,
  5.  
  6. ],
  7. declarations: [],
  8. providers:[ToasterService]
  9.  
  10. })
  11.  
  12. import { CalendarModule } from 'primeng/components/calendar/calendar'
  13.  
  14. <div class="ui-g-12 ui-md-4">
  15. <h3>Time</h3>
  16. <p-calendar [(ngModel)]="date7" [showTime]="true">
  17. </p-calendar> {{date7}}
  18. </div>
  19.  
  20. {
  21. "name": "cateina-tech",
  22. "version": "1.0.0-alpha.6",
  23. "description": "Open Source Bootstrap Admin Template",
  24. "author": "",
  25. "url": "http://cateina.com",
  26. "scripts": {
  27. "ng": "ng",
  28. "start": "ng serve",
  29. "build": "ng build",
  30. "test": "ng test",
  31. "lint": "ng lint",
  32. "e2e": "ng e2e"
  33. },
  34. "private": true,
  35. "dependencies": {
  36. "@angular/common": "4.3.4",
  37. "@angular/compiler": "4.3.4",
  38. "@angular/core": "4.3.4",
  39. "@angular/forms": "4.3.4",
  40. "@angular/http": "4.3.4",
  41. "@angular/platform-browser": "4.3.4",
  42. "@angular/platform-browser-dynamic": "4.3.4",
  43. "@angular/router": "4.3.4",
  44. "@angular/upgrade": "4.3.4",
  45. "angular-2-local-storage": "^1.0.1",
  46. "angular-localstorage": "^1.1.5",
  47. "body-parser": "^1.18.2",
  48. "chart.js": "2.6.0",
  49. "core-js": "2.5.0",
  50. "cors": "^2.8.4",
  51. "date-time": "^2.1.0",
  52. "express": "^4.16.2",
  53. "express-jwt": "^5.3.1",
  54. "express-session": "^1.15.6",
  55. "font-awesome": "^4.7.0",
  56. "jquery": "^3.3.1",
  57. "jsonwebtoken": "^8.2.0",
  58. "jwt-decode": "^2.2.0",
  59. "localstorage": "^0.1.0",
  60. "moment": "2.18.1",
  61. "mysql": "^2.15.0",
  62. "mysql-server": "^1.0.5",
  63. "ng2-charts": "1.6.0",
  64. "ng2-order-pipe": "^0.1.5",
  65. "ng2-search-filter": "^0.4.7",
  66. "ngx-bootstrap": "1.8.1",
  67. "ngx-ellipsis": "^1.0.7",
  68. "ngx-gauge": "^1.0.0-beta.2",
  69. "ngx-loading": "^1.0.14",
  70. "ngx-pagination": "^3.1.0",
  71. "node-datetime": "^2.0.6",
  72. "nodemailer": "^4.6.3",
  73. "nodemon": "^1.17.3",
  74. "path": "*",
  75. "pepipost-sdk-nodejs": "^0.4.0",
  76. "primeng": "^5.2.4",
  77. "q": "^1.5.1",
  78. "request": "^2.83.0",
  79. "request-promise": "^4.2.2",
  80. "restify": "^6.3.4",
  81. "rootpath": "^0.1.2",
  82. "rxjs": "5.4.3",
  83. "save": "^2.3.2",
  84. "ts-helpers": "1.1.2",
  85. "zone.js": "0.8.16"
  86. },
  87. "devDependencies": {
  88. "@angular/cli": "^1.7.3",
  89. "@angular/compiler-cli": "4.3.4",
  90. "@types/jasmine": "2.5.53",
  91. "@types/node": "8.0.20",
  92. "codelyzer": "3.1.2",
  93. "jasmine-core": "2.7.0",
  94. "jasmine-spec-reporter": "4.2.0",
  95. "karma": "1.7.0",
  96. "karma-chrome-launcher": "2.2.0",
  97. "karma-cli": "1.0.1",
  98. "karma-coverage-istanbul-reporter": "1.3.0",
  99. "karma-jasmine": "1.1.0",
  100. "karma-jasmine-html-reporter": "0.2.2",
  101. "protractor": "5.1.2",
  102. "ts-node": "3.3.0",
  103. "tslint": "5.6.0",
  104. "typescript": "^2.3.4"
  105. },
  106. "engines": {
  107. "node": ">= 6.9.0",
  108. "npm": ">= 3.0.0"
  109. }
  110. }
  111.  
  112. ERROR in Error: Metadata version mismatch for module /home/dell/Downloads/Adaani5.0.0/node_modules/primeng/components/calendar/calendar.d.ts,found version 4, expected 3, resolving symbol MasterSystemModule in /home/dell/Downloads/Adaani5.0.0/src/app/master-system/master-system.module.ts, resolving symbol MasterSystemModule in /home/dell/Downloads/Adaani5.0.0/src/app/master-system/master-system.module.ts
  113. at syntaxError (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler/bundles/compiler.umd.js:1725:34)
  114. at simplifyInContext (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler/bundles/compiler.umd.js:24949:23)
  115. at StaticReflector.simplify (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler/bundles/compiler.umd.js:24961:13)
  116. at StaticReflector.annotations (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler/bundles/compiler.umd.js:24391:41)
  117. at _getNgModuleMetadata (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler-cli/src/ngtools_impl.js:138:31)
  118. at _extractLazyRoutesFromStaticModule (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler-cli/src/ngtools_impl.js:109:26)
  119. at includeLazyRouteAndSubRoutes (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler-cli/src/ngtools_impl.js:66:25)
  120. at Array.reduce (<anonymous>)
  121. at Object.listLazyRoutesOfModule (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler-cli/src/ngtools_impl.js:54:36)
  122. at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/home/dell/Downloads/Adaani5.0.0/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)
  123. at AotPlugin._getLazyRoutesFromNgtools (/home/dell/Downloads/Adaani5.0.0/node_modules/@ngtools/webpack/src/plugin.js:240:66)
  124. at _donePromise.Promise.resolve.then.then.then.then.then (/home/dell/Downloads/Adaani5.0.0/node_modules/@ngtools/webpack/src/plugin.js:493:24)
  125. at <anonymous>
  126. at process._tickCallback (internal/process/next_tick.js:188:7)
Add Comment
Please, Sign In to add comment