Git Product home page Git Product logo

cardiovascular-tracker's Introduction

心血管健康助理

这款小程序可以方便您每天记录体重、血压、心率,方便您管理自己的心血管健康。还可以与您的家人分享你们的健康记录。即使分隔两地,也能随时了解彼此的心血管健康情况。

QR Code 小程序码

小程序使用手册

技术信息

Coming soon...

贡献

如果你觉得这个小程序有不完善的地方,可以直接给我开 issue 或者 PR。

非常欢迎来自你们的 issue 和 PR!

许可

MIT

cardiovascular-tracker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cardiovascular-tracker's Issues

无法运行server

er  npm start

[email protected] start /Users/grayson/Desktop/cardiovascular-tracker-master/server
tsc && NODE_ENV=production node dist/main

node_modules/@types/koa/index.d.ts:24:57 - error TS2307: Cannot find module 'http2'.

24 import { Http2ServerRequest, Http2ServerResponse } from 'http2';
~~~~~~~

src/lib/middlewares/api-responser.ts:36:9 - error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.

36 if (error instanceof UserError && process.env.NODE_ENV === 'production') {
~~~~~

src/lib/middlewares/validate.ts:14:58 - error TS2345: Argument of type 'ErrorObject[] | null | undefined' is not assignable to parameter of type 'ErrorObject[] | undefined'.
Type 'null' is not assignable to type 'ErrorObject[] | undefined'.

14 else throw new ValidationFailureError(ajv.errorsText(validator.errors))
~~~~~~~~~~~~~~~~

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: tsc && NODE_ENV=production node dist/main
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start 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! /Users/grayson/.npm/_logs/2018-10-26T12_58_03_219Z-debug.log

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.