Advertisement
Guest User

Untitled

a guest
Feb 25th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. michael@MICHAEL-PC:/mnt/c/HackPSU_Technology/api/api$ npm test
  2.  
  3. > hackpsu-api@2.0.0 pretest /mnt/c/HackPSU_Technology/api/api
  4. > tsc -p .
  5.  
  6. lib/models/RSVP/RSVP-data-mapper-impl.ts:150:7 - error TS2345: Argument of type 'OperatorFunction<number, { result: string; data: number; }>' is not assignable to parameter of type 'OperatorFunction<string | void | number[] | ReadableStream<number>, { result: string; data: number; }>'.
  7. Type 'number' is not assignable to type 'string | void | number[] | ReadableStream<number>'.
  8.  
  9. 150 map((result: number) => ({ result: 'Success', data: result })),
  10. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  11.  
  12. lib/models/category/category-data-mapper-impl.ts:6:26 - error TS2306: File '/mnt/c/HackPSU_Technology/api/api/lib/models/category/index.ts' is not a module.
  13.  
  14. 6 import { Category } from '.';
  15. ~~~
  16.  
  17. lib/models/scanner/scanner-data-mapper-impl.ts:16:26 - error TS2306: File '/mnt/c/HackPSU_Technology/api/api/lib/models/category/index.ts' is not a module.
  18.  
  19. 16 import { Category } from '../category';
  20. ~~~~~~~~~~~~~
  21.  
  22. lib/router/routes/admin/admin-scanner.ts:203:27 - error TS2304: Cannot find name 'IUserStatistics'.
  23.  
  24. 203 let result: IDbResult<IUserStatistics>;
  25. ~~~~~~~~~~~~~~~
  26.  
  27. lib/router/routes/admin/admin-scanner.ts:205:27 - error TS2339: Property 'adminStatisticsDataMapper' does not exist on type 'AdminScannerController'.
  28.  
  29. 205 result = await this.adminStatisticsDataMapper.getAllUserData({
  30. ~~~~~~~~~~~~~~~~~~~~~~~~~
  31.  
  32. lib/services/storage/engines/gcs-storage.engine.ts:7:26 - error TS2694: Namespace 'Storage' has no exported member 'Storage'.
  33.  
  34. 7 private gcobj: Storage.Storage;
  35. ~~~~~~~
  36.  
  37. lib/services/storage/engines/gcs-storage.engine.ts:13:18 - error TS2348: Value of type 'typeof Storage' is not callable. Did you mean to include 'new'?
  38.  
  39. 13 this.gcobj = Storage({
  40. ~~~~~~~~~
  41. 14 keyFilename: opts.keyFilename,
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. 15 projectId: opts.projectId,
  44. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  45. 16 });
  46. ~~~~~~
  47.  
  48. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1434:32 - error TS2304: Cannot find name 'Long'.
  49.  
  50. 1434 line?: (number|Long|null);
  51. ~~~~
  52.  
  53. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1453:38 - error TS2304: Cannot find name 'Long'.
  54.  
  55. 1453 public line: (number|Long);
  56. ~~~~
  57.  
  58. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1543:39 - error TS2304: Cannot find name 'Long'.
  59.  
  60. 1543 requestSize?: (number|Long|null);
  61. ~~~~
  62.  
  63. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1549:40 - error TS2304: Cannot find name 'Long'.
  64.  
  65. 1549 responseSize?: (number|Long|null);
  66. ~~~~
  67.  
  68. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1576:42 - error TS2304: Cannot find name 'Long'.
  69.  
  70. 1576 cacheFillBytes?: (number|Long|null);
  71. ~~~~
  72.  
  73. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1598:45 - error TS2304: Cannot find name 'Long'.
  74.  
  75. 1598 public requestSize: (number|Long);
  76. ~~~~
  77.  
  78. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1604:46 - error TS2304: Cannot find name 'Long'.
  79.  
  80. 1604 public responseSize: (number|Long);
  81. ~~~~
  82.  
  83. node_modules/@google-cloud/logging/build/proto/logging.d.ts:1631:48 - error TS2304: Cannot find name 'Long'.
  84.  
  85. 1631 public cacheFillBytes: (number|Long);
  86. ~~~~
  87.  
  88. node_modules/@google-cloud/logging/build/proto/logging.d.ts:4962:40 - error TS2304: Cannot find name 'Long'.
  89.  
  90. 4962 positiveIntValue?: (number|Long|null);
  91. ~~~~
  92.  
  93. node_modules/@google-cloud/logging/build/proto/logging.d.ts:4965:40 - error TS2304: Cannot find name 'Long'.
  94.  
  95. 4965 negativeIntValue?: (number|Long|null);
  96. ~~~~
  97.  
  98. node_modules/@google-cloud/logging/build/proto/logging.d.ts:4993:46 - error TS2304: Cannot find name 'Long'.
  99.  
  100. 4993 public positiveIntValue: (number|Long);
  101. ~~~~
  102.  
  103. node_modules/@google-cloud/logging/build/proto/logging.d.ts:4996:46 - error TS2304: Cannot find name 'Long'.
  104.  
  105. 4996 public negativeIntValue: (number|Long);
  106. ~~~~
  107.  
  108. node_modules/@google-cloud/logging/build/proto/logging.d.ts:5897:31 - error TS2304: Cannot find name 'Long'.
  109.  
  110. 5897 seconds?: (number|Long|null);
  111. ~~~~
  112.  
  113. node_modules/@google-cloud/logging/build/proto/logging.d.ts:5913:37 - error TS2304: Cannot find name 'Long'.
  114.  
  115. 5913 public seconds: (number|Long);
  116. ~~~~
  117.  
  118. node_modules/@google-cloud/logging/build/proto/logging.d.ts:6089:31 - error TS2304: Cannot find name 'Long'.
  119.  
  120. 6089 seconds?: (number|Long|null);
  121. ~~~~
  122.  
  123. node_modules/@google-cloud/logging/build/proto/logging.d.ts:6105:37 - error TS2304: Cannot find name 'Long'.
  124.  
  125. 6105 public seconds: (number|Long);
  126. ~~~~
  127.  
  128. node_modules/google-gax/build/src/streaming.d.ts:47:42 - error TS2507: Type '{ default: DuplexifyConstructor; obj(writable?: Writable | undefined, readable?: Readable | undefined, streamOptions?: DuplexOptions | undefined): Duplexify;
  129. }' is not a constructor function type.
  130.  
  131. 47 export declare class StreamProxy extends Duplexify {
  132. ~~~~~~~~~
  133.  
  134.  
  135. Found 24 errors.
  136.  
  137. npm ERR! Test failed. See above for more details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement