This repository was archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
compile and test out of box fail? #5
Copy link
Copy link
Open
Labels
Description
So after a clean clone - both compile and test fail? [Windows, node v8.x / npm v5.3 / ts v2.4.2]
Obviously some issues with isomorphic-fetch, but assume you are running the same for publish - something missing here? TIA.
Output
npm i
npm run test
ERROR: 52796:119 typedef-whitespace expected nospace before colon in call-signature
ERROR: 52833:116 typedef-whitespace expected nospace before colon in call-signature
ERROR: 52871:153 typedef-whitespace expected nospace before colon in call-signature
ERROR: 52916:146 typedef-whitespace expected nospace before colon in call-signature
ERROR: 52960:133 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53001:24 typedef-whitespace expected nospace before colon in property-declaration
ERROR: 53014:126 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53055:231 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53111:117 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53148:114 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53186:151 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53231:150 typedef-whitespace expected nospace before colon in call-signature
ERROR: 53275:137 typedef-whitespace expected nospace before colon in call-signature
D:/VSTS-Sandbox/connectwise-rest-api/src/connectwise.ts
ERROR: 319:98 semicolon Missing semicolon
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! connectwise-rest-api@1.2.1 test: `tslint --project tsconfig.json --format stylish && tsc --pretty --noEmit && ava`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the connectwise-rest-api@1.2.1 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm run compile
node_modules/@types/isomorphic-fetch/index.d.ts(66,14): error TS2403: Subsequent variable declarations must have the same type. Variable 'referrerPolicy' must be of type 'ReferrerPolicy', but here has type 'string'.
67 readonly type: string;
~~~~
node_modules/@types/isomorphic-fetch/index.d.ts(67,14): error TS2403: Subsequent variable declarations must have the same type. Variable 'type' must be of type 'RequestType', but here has type 'string'.
94 readonly type: string;
~~~~
node_modules/@types/isomorphic-fetch/index.d.ts(94,14): error TS2403: Subsequent variable declarations must have the same type. Variable 'type' must be of type 'ResponseType', but here has type 'string'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! connectwise-rest-api@1.2.1 compile: `tsc --pretty`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the connectwise-rest-api@1.2.1 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.