> share.io.server@0.0.0 build /srv/beam/beam.cafe.backend
> run-p build:ts build:templates
> share.io.server@0.0.0 build:ts /srv/beam/beam.cafe.backend
> tsc --project tsconfig.json
> share.io.server@0.0.0 build:templates /srv/beam/beam.cafe.backend
> node scripts/build.templates.js
Copied "templates" to "/srv/beam/beam.cafe.backend/dist/templates"
Copied "templates" to "/srv/beam/beam.cafe.backend/dist/templates"
Copied "download-gone.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/download-gone.ejs"
Copied "download-notfound.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/download-notfound.ejs"
Copied "download-offline.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/download-offline.ejs"
Copied "download-rate-limited.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/download-rate-limited.ejs"
Copied "download.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/download.ejs"
Copied "error-404.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/error-404.ejs"
Copied "partials" to "/srv/beam/beam.cafe.backend/dist/templates/partials"
Copied "seo.ejs" to "/srv/beam/beam.cafe.backend/dist/templates/partials/seo.ejs"
Compiled html/templates/download-notfound.scss
Compiled html/templates/download.scss
Compiled html/templates/download-gone.scss
Compiled html/templates/download-offline.scss
Compiled html/templates/download-rate-limited.scss
Compiled html/templates/error-404.scss
Compiled html/templates/download.js
src/socket/action.ts:22:61 - error TS2558: Expected 0 type arguments, but got 1.
22 const {error, value} = validation.ClientAction.validate<any>(data);
~~~
src/socket/request.ts:14:62 - error TS2558: Expected 0 type arguments, but got 1.
14 const {error, value} = validation.ClientRequest.validate<any>(request);
~~~
Found 2 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! share.io.server@0.0.0 build:ts: `tsc --project tsconfig.json`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the share.io.server@0.0.0 build:ts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /srv/beam/.npm/_logs/2020-11-23T02_08_11_009Z-debug.log
ERROR: "build:ts" exited with 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! share.io.server@0.0.0 build: `run-p build:ts build:templates`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the share.io.server@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /srv/beam/.npm/_logs/2020-11-23T02_08_11_155Z-debug.log
Failed to
npm run build
How to fix?