GithubHelp home page GithubHelp logo

dot-cafe / beam.cafe.backend Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 743 KB

๐ŸŽ’ Backend for beam.cafe.

Home Page: https://beam.cafe/

TypeScript 67.00% HTML 14.90% JavaScript 8.27% Dockerfile 0.44% SCSS 9.40%
beam-cafe

beam.cafe.backend's People

Contributors

antoinebou12 avatar dependabot[bot] avatar mzch avatar simonwep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

beam.cafe.backend's Issues

Failed to npm run build

Failed to npm run build

> [email protected] build /srv/beam/beam.cafe.backend
> run-p build:ts build:templates


> [email protected] build:ts /srv/beam/beam.cafe.backend
> tsc --project tsconfig.json


> [email protected] 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! [email protected] build:ts: `tsc --project tsconfig.json`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] 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! [email protected] build: `run-p build:ts build:templates`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

How to fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.