Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- michael@MICHAEL-PC:/mnt/c/HackPSU_Technology/api/api$ npm test
- > hackpsu-api@2.0.0 pretest /mnt/c/HackPSU_Technology/api/api
- > tsc -p .
- 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; }>'.
- Type 'number' is not assignable to type 'string | void | number[] | ReadableStream<number>'.
- 150 map((result: number) => ({ result: 'Success', data: result })),
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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.
- 6 import { Category } from '.';
- ~~~
- 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.
- 16 import { Category } from '../category';
- ~~~~~~~~~~~~~
- lib/router/routes/admin/admin-scanner.ts:203:27 - error TS2304: Cannot find name 'IUserStatistics'.
- 203 let result: IDbResult<IUserStatistics>;
- ~~~~~~~~~~~~~~~
- lib/router/routes/admin/admin-scanner.ts:205:27 - error TS2339: Property 'adminStatisticsDataMapper' does not exist on type 'AdminScannerController'.
- 205 result = await this.adminStatisticsDataMapper.getAllUserData({
- ~~~~~~~~~~~~~~~~~~~~~~~~~
- lib/services/storage/engines/gcs-storage.engine.ts:7:26 - error TS2694: Namespace 'Storage' has no exported member 'Storage'.
- 7 private gcobj: Storage.Storage;
- ~~~~~~~
- 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'?
- 13 this.gcobj = Storage({
- ~~~~~~~~~
- 14 keyFilename: opts.keyFilename,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 15 projectId: opts.projectId,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 16 });
- ~~~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1434:32 - error TS2304: Cannot find name 'Long'.
- 1434 line?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1453:38 - error TS2304: Cannot find name 'Long'.
- 1453 public line: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1543:39 - error TS2304: Cannot find name 'Long'.
- 1543 requestSize?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1549:40 - error TS2304: Cannot find name 'Long'.
- 1549 responseSize?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1576:42 - error TS2304: Cannot find name 'Long'.
- 1576 cacheFillBytes?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1598:45 - error TS2304: Cannot find name 'Long'.
- 1598 public requestSize: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1604:46 - error TS2304: Cannot find name 'Long'.
- 1604 public responseSize: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:1631:48 - error TS2304: Cannot find name 'Long'.
- 1631 public cacheFillBytes: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:4962:40 - error TS2304: Cannot find name 'Long'.
- 4962 positiveIntValue?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:4965:40 - error TS2304: Cannot find name 'Long'.
- 4965 negativeIntValue?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:4993:46 - error TS2304: Cannot find name 'Long'.
- 4993 public positiveIntValue: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:4996:46 - error TS2304: Cannot find name 'Long'.
- 4996 public negativeIntValue: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:5897:31 - error TS2304: Cannot find name 'Long'.
- 5897 seconds?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:5913:37 - error TS2304: Cannot find name 'Long'.
- 5913 public seconds: (number|Long);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:6089:31 - error TS2304: Cannot find name 'Long'.
- 6089 seconds?: (number|Long|null);
- ~~~~
- node_modules/@google-cloud/logging/build/proto/logging.d.ts:6105:37 - error TS2304: Cannot find name 'Long'.
- 6105 public seconds: (number|Long);
- ~~~~
- 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;
- }' is not a constructor function type.
- 47 export declare class StreamProxy extends Duplexify {
- ~~~~~~~~~
- Found 24 errors.
- npm ERR! Test failed. See above for more details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement