can't build
foldedcascode opened this issue Β· comments
foldedcascode commented
same version of node and nvm as the last successful travis build:
[cascode@dppdtt summaly]$ node --version
v7.5.0
[cascode@dppdtt summaly]$ npm --version
4.1.2
[cascode@dppdtt summaly]$ nvm --version
0.38.0
[cascode@dppdtt summaly]$ npm install
npm WARN deprecated request-promise-native@1.0.7: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated @types/form-data@2.5.0: This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
summaly@2.4.0 /home/cascode/projects/summaly
βββ @types/debug@0.0.30
βββ¬ @types/express@4.16.0
β βββ¬ @types/body-parser@1.19.0
β β βββ @types/connect@3.4.34
β βββ¬ @types/express-serve-static-core@4.17.19
β β βββ @types/qs@6.9.6
β β βββ @types/range-parser@1.2.3
β βββ¬ @types/serve-static@1.13.9
β βββ @types/mime@1.3.2
βββ @types/html-entities@1.2.16
βββ @types/mocha@5.2.2
βββ @types/node@10.3.4
βββ¬ @types/request@2.47.1
β βββ @types/caseless@0.12.2
β βββ @types/form-data@2.5.0
β βββ @types/tough-cookie@4.0.0
βββ @types/request-promise-native@1.0.15
βββ¬ cheerio-httpcli@0.7.4
β βββ¬ @types/cheerio@0.22.28
β β βββ @types/node@14.14.37
β βββ¬ async@2.6.3
β β βββ lodash@4.17.21
β βββ¬ cheerio@0.22.0
β β βββ¬ css-select@1.2.0
β β β βββ boolbase@1.0.0
β β β βββ css-what@2.1.3
β β β βββ domutils@1.5.1
β β β βββ nth-check@1.0.2
β β βββ¬ dom-serializer@0.1.1
β β β βββ domelementtype@1.3.1
β β βββ entities@1.1.2
β β βββ¬ htmlparser2@3.10.1
β β β βββ domhandler@2.4.2
β β β βββ¬ readable-stream@3.6.0
β β β βββ string_decoder@1.3.0
β β β βββ util-deprecate@1.0.2
β β βββ lodash.assignin@4.2.0
β β βββ lodash.bind@4.2.1
β β βββ lodash.defaults@4.2.0
β β βββ lodash.filter@4.6.0
β β βββ lodash.flatten@4.4.0
β β βββ lodash.foreach@4.5.0
β β βββ lodash.map@4.6.0
β β βββ lodash.merge@4.6.2
β β βββ lodash.pick@4.4.0
β β βββ lodash.reduce@4.6.0
β β βββ lodash.reject@4.6.0
β β βββ lodash.some@4.6.0
β βββ colors@1.4.0
β βββ foreach@2.0.5
β βββ he@1.2.0
β βββ¬ iconv-lite@0.4.24
β β βββ safer-buffer@2.1.2
β βββ¬ import-fresh@3.3.0
β β βββ¬ parent-module@1.0.1
β β β βββ callsites@3.1.0
β β βββ resolve-from@4.0.0
β βββ jschardet@2.3.0
β βββ object-assign@4.1.1
β βββ¬ os-locale@3.1.0
β β βββ¬ execa@1.0.0
β β β βββ¬ cross-spawn@6.0.5
β β β β βββ nice-try@1.0.5
β β β β βββ path-key@2.0.1
β β β β βββ semver@5.7.1
β β β β βββ¬ shebang-command@1.2.0
β β β β β βββ shebang-regex@1.0.0
β β β β βββ¬ which@1.3.1
β β β β βββ isexe@2.0.0
β β β βββ¬ get-stream@4.1.0
β β β β βββ¬ pump@3.0.0
β β β β βββ end-of-stream@1.4.4
β β β βββ is-stream@1.1.0
β β β βββ npm-run-path@2.0.2
β β β βββ p-finally@1.0.0
β β β βββ signal-exit@3.0.3
β β β βββ strip-eof@1.0.0
β β βββ¬ lcid@2.0.0
β β β βββ invert-kv@2.0.0
β β βββ¬ mem@4.3.0
β β βββ¬ map-age-cleaner@0.1.3
β β β βββ p-defer@1.0.0
β β βββ mimic-fn@2.1.0
β β βββ p-is-promise@2.1.0
β βββ¬ prettyjson@1.2.1
β β βββ minimist@1.2.5
β βββ rsvp@4.8.5
β βββ spawn-sync@2.0.0
β βββ¬ tough-cookie@3.0.1
β β βββ ip-regex@2.1.0
β β βββ psl@1.8.0
β β βββ punycode@2.1.1
β βββ type-of@2.0.1
β βββ valid-url@1.0.9
βββ¬ debug@3.1.0
β βββ ms@2.0.0
βββ escape-regexp@0.0.1
βββ¬ express@4.16.3
β βββ¬ accepts@1.3.7
β β βββ negotiator@0.6.2
β βββ array-flatten@1.1.1
β βββ¬ body-parser@1.18.2
β β βββ bytes@3.0.0
β β βββ debug@2.6.9
β β βββ¬ http-errors@1.6.3
β β β βββ inherits@2.0.3
β β β βββ setprototypeof@1.1.0
β β βββ iconv-lite@0.4.19
β β βββ qs@6.5.1
β β βββ¬ raw-body@2.3.2
β β βββ¬ http-errors@1.6.2
β β β βββ depd@1.1.1
β β β βββ inherits@2.0.3
β β β βββ setprototypeof@1.0.3
β β βββ iconv-lite@0.4.19
β βββ content-disposition@0.5.2
β βββ content-type@1.0.4
β βββ cookie@0.3.1
β βββ cookie-signature@1.0.6
β βββ debug@2.6.9
β βββ depd@1.1.2
β βββ encodeurl@1.0.2
β βββ escape-html@1.0.3
β βββ etag@1.8.1
β βββ¬ finalhandler@1.1.1
β β βββ debug@2.6.9
β β βββ statuses@1.4.0
β β βββ unpipe@1.0.0
β βββ fresh@0.5.2
β βββ merge-descriptors@1.0.1
β βββ methods@1.1.2
β βββ¬ on-finished@2.3.0
β β βββ ee-first@1.1.1
β βββ parseurl@1.3.3
β βββ path-to-regexp@0.1.7
β βββ¬ proxy-addr@2.0.6
β β βββ forwarded@0.1.2
β β βββ ipaddr.js@1.9.1
β βββ qs@6.5.1
β βββ range-parser@1.2.1
β βββ safe-buffer@5.1.1
β βββ¬ send@0.16.2
β β βββ debug@2.6.9
β β βββ¬ http-errors@1.6.3
β β β βββ inherits@2.0.3
β β β βββ setprototypeof@1.1.0
β β βββ mime@1.4.1
β β βββ statuses@1.4.0
β βββ serve-static@1.13.2
β βββ setprototypeof@1.1.0
β βββ statuses@1.4.0
β βββ¬ type-is@1.6.18
β β βββ media-typer@0.3.0
β βββ utils-merge@1.0.1
β βββ vary@1.1.2
βββ html-entities@1.2.1
βββ¬ koa@2.8.1
β βββ¬ cache-content-type@1.0.1
β β βββ ylru@1.2.1
β βββ¬ content-disposition@0.5.3
β β βββ safe-buffer@5.1.2
β βββ¬ cookies@0.7.3
β β βββ keygrip@1.0.3
β βββ delegates@1.0.0
β βββ destroy@1.0.4
β βββ error-inject@1.0.0
β βββ¬ http-assert@1.4.1
β β βββ deep-equal@1.0.1
β β βββ¬ http-errors@1.7.3
β β βββ setprototypeof@1.1.1
β βββ¬ http-errors@1.8.0
β β βββ inherits@2.0.4
β β βββ setprototypeof@1.2.0
β β βββ toidentifier@1.0.0
β βββ is-generator-function@1.0.8
β βββ koa-compose@4.1.0
β βββ¬ koa-convert@1.2.0
β β βββ co@4.6.0
β β βββ¬ koa-compose@3.2.1
β β βββ any-promise@1.3.0
β βββ koa-is-json@1.0.0
β βββ only@0.0.2
β βββ statuses@1.5.0
βββ¬ mocha@5.2.0
β βββ browser-stdout@1.3.1
β βββ commander@2.15.1
β βββ diff@3.5.0
β βββ escape-string-regexp@1.0.5
β βββ¬ glob@7.1.2
β β βββ fs.realpath@1.0.0
β β βββ¬ inflight@1.0.6
β β β βββ wrappy@1.0.2
β β βββ once@1.4.0
β β βββ path-is-absolute@1.0.1
β βββ growl@1.10.5
β βββ he@1.1.1
β βββ¬ minimatch@3.0.4
β β βββ¬ brace-expansion@1.1.11
β β βββ balanced-match@1.0.2
β β βββ concat-map@0.0.1
β βββ¬ mkdirp@0.5.1
β β βββ minimist@0.0.8
β βββ¬ supports-color@5.4.0
β βββ has-flag@3.0.0
βββ¬ request@2.88.0
β βββ aws-sign2@0.7.0
β βββ aws4@1.11.0
β βββ caseless@0.12.0
β βββ¬ combined-stream@1.0.8
β β βββ delayed-stream@1.0.0
β βββ extend@3.0.2
β βββ forever-agent@0.6.1
β βββ¬ form-data@2.3.3
β β βββ asynckit@0.4.0
β βββ¬ har-validator@5.1.5
β β βββ¬ ajv@6.12.6
β β β βββ fast-deep-equal@3.1.3
β β β βββ fast-json-stable-stringify@2.1.0
β β β βββ json-schema-traverse@0.4.1
β β β βββ uri-js@4.4.1
β β βββ har-schema@2.0.0
β βββ¬ http-signature@1.2.0
β β βββ assert-plus@1.0.0
β β βββ¬ jsprim@1.4.1
β β β βββ extsprintf@1.3.0
β β β βββ json-schema@0.2.3
β β β βββ¬ verror@1.10.0
β β β βββ core-util-is@1.0.2
β β βββ¬ sshpk@1.16.1
β β βββ asn1@0.2.4
β β βββ bcrypt-pbkdf@1.0.2
β β βββ dashdash@1.14.1
β β βββ ecc-jsbn@0.1.2
β β βββ getpass@0.1.7
β β βββ jsbn@0.1.1
β β βββ tweetnacl@0.14.5
β βββ is-typedarray@1.0.0
β βββ isstream@0.1.2
β βββ json-stringify-safe@5.0.1
β βββ¬ mime-types@2.1.30
β β βββ mime-db@1.47.0
β βββ oauth-sign@0.9.0
β βββ performance-now@2.1.0
β βββ qs@6.5.2
β βββ safe-buffer@5.2.1
β βββ¬ tough-cookie@2.4.3
β β βββ punycode@1.4.1
β βββ tunnel-agent@0.6.0
β βββ uuid@3.4.0
βββ¬ request-promise-native@1.0.7
β βββ request-promise-core@1.1.2
β βββ stealthy-require@1.1.1
β βββ tough-cookie@2.5.0
βββ require-all@2.2.0
βββ trace-redirect@1.0.6
βββ typescript@2.9.2
[cascode@dppdtt summaly]$ npm run build
> summaly@2.4.0 build /home/cascode/projects/summaly
> tsc
node_modules/@types/qs/index.d.ts:61:101 - error TS2304: Cannot find name 'unknown'.
61 function parse(str: string | Record<string, string>, options?: IParseOptions): { [key: string]: unknown };
~~~~~~~
node_modules/cheerio-httpcli/index.d.ts:14:37 - error TS2304: Cannot find name 'CheerioStatic'.
14 interface CheerioStaticEx extends CheerioStatic {
~~~~~~~~~~~~~
node_modules/cheerio-httpcli/index.d.ts:16:26 - error TS2304: Cannot find name 'CheerioOptionsInterface'.
16 entityHtml(options?: CheerioOptionsInterface): string;
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/cheerio-httpcli/index.d.ts:17:44 - error TS2304: Cannot find name 'CheerioOptionsInterface'.
17 entityHtml(selector: string, options?: CheerioOptionsInterface): string;
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/cheerio-httpcli/index.d.ts:18:44 - error TS2304: Cannot find name 'CheerioOptionsInterface'.
18 entityHtml(element: Cheerio, options?: CheerioOptionsInterface): string;
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/cheerio-httpcli/index.d.ts:19:25 - error TS2304: Cannot find name 'CheerioElement'.
19 entityHtml(element: CheerioElement, options?: CheerioOptionsInterface): string;
~~~~~~~~~~~~~~
node_modules/cheerio-httpcli/index.d.ts:19:51 - error TS2304: Cannot find name 'CheerioOptionsInterface'.
19 entityHtml(element: CheerioElement, options?: CheerioOptionsInterface): string;
~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:46:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
46 $('meta[property="og:title"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:47:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
47 $('meta[property="twitter:title"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:48:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
48 $('title').text();
~~~~~~~~~~
src/general.ts:57:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
57 $('meta[property="og:image"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:58:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
58 $('meta[property="twitter:image"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:59:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
59 $('link[rel="image_src"]').attr('href') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:60:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
60 $('link[rel="apple-touch-icon"]').attr('href') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:61:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
61 $('link[rel="apple-touch-icon image_src"]').attr('href');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:66:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
66 $('meta[property="twitter:player"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:67:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
67 $('meta[name="twitter:player"]').attr('content');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:70:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
70 $('meta[property="twitter:player:width"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:71:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
71 $('meta[name="twitter:player:width"]').attr('content'));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:74:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
74 $('meta[property="twitter:player:height"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:75:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
75 $('meta[name="twitter:player:height"]').attr('content'));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:78:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
78 $('meta[property="og:description"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:79:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
79 $('meta[property="twitter:description"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:80:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
80 $('meta[name="description"]').attr('content');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:91:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
91 $('meta[property="og:site_name"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:92:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
92 $('meta[name="application-name"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:98:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
98 $('link[rel="shortcut icon"]').attr('href') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/general.ts:99:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
99 $('link[rel="icon"]').attr('href') ||
~~~~~~~~~~~~~~~~~~~~~
src/general.ts:102:20 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
102 const sensitive = $('.tweet').attr('data-possibly-sensitive') === 'true'
~~~~~~~~~~~
src/plugins/amazon.ts:34:16 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
34 const title = $('#title').text();
~~~~~~~~~~~
src/plugins/amazon.ts:37:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
37 $('#productDescription').text() ||
~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:38:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
38 $('meta[name="description"]').attr('content');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:40:28 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
40 const thumbnail: string = $('#landingImage').attr('src');
~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:43:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
43 $('meta[property="twitter:player"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:44:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
44 $('meta[name="twitter:player"]').attr('content');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:47:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
47 $('meta[property="twitter:player:width"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:48:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
48 $('meta[name="twitter:player:width"]').attr('content'));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:51:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
51 $('meta[property="twitter:player:height"]').attr('content') ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plugins/amazon.ts:52:3 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'CheerioStaticEx' has no compatible call signatures.
52 $('meta[name="twitter:player:height"]').attr('content'));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Linux 5.10.19_1
npm ERR! argv "/home/cascode/.nvm/versions/node/v7.5.0/bin/node" "/home/cascode/.nvm/versions/node/v7.5.0/bin/npm" "run" "build"
npm ERR! node v7.5.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! summaly@2.4.0 build: `tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the summaly@2.4.0 build script 'tsc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the summaly package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs summaly
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls summaly
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/cascode/projects/summaly/npm-debug.log