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
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.
The text was updated successfully, but these errors were encountered:
@jstott, Yes I had to work around this for the last release. As you noticed the issue is with the typings pulled from isomorphic-fetch. I'll push an update to fix.
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 run compile
The text was updated successfully, but these errors were encountered: