Giter VIP home page Giter VIP logo

postsender's Introduction

PostSender

Mainly use post method for android homework and vue learning

use

npm install
ts-node app.ts

if you modified the source file run

tsc && ts-node app.ts

tests

tsc && ava tests/*.js

postsender's People

Contributors

into233 avatar

Forkers

noittion

postsender's Issues

it comes errors when i add a comment

like this

 Error: WHERE parameter "id" has invalid "undefined" value
      at MySQLQueryGenerator.whereItemQuery (/home/ubuntu/postsender/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2050:13)
      at Utils.getComplexKeys.forEach.prop (/home/ubuntu/postsender/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2039:25)
      at Array.forEach (<anonymous>)
      at MySQLQueryGenerator.whereItemsQuery (/home/ubuntu/postsender/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2037:35)
      at MySQLQueryGenerator.getWhereConditions (/home/ubuntu/postsender/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2449:19)
      at MySQLQueryGenerator.selectQuery (/home/ubuntu/postsender/node_modules/sequelize/lib/dialects/abstract/query-generator.js:1278:28)
      at QueryInterface.select (/home/ubuntu/postsender/node_modules/sequelize/lib/query-interface.js:1117:27)
      at Promise.try.then.then.then (/home/ubuntu/postsender/node_modules/sequelize/lib/model.js:1745:34)
      at tryCatcher (/home/ubuntu/postsender/node_modules/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler (/home/ubuntu/postsender/node_modules/bluebird/js/release/promise.js:512:31)
      at Promise._settlePromise (/home/ubuntu/postsender/node_modules/bluebird/js/release/promise.js:569:18)
      at Promise._settlePromise0 (/home/ubuntu/postsender/node_modules/bluebird/js/release/promise.js:614:10)
      at Promise._settlePromises (/home/ubuntu/postsender/node_modules/bluebird/js/release/promise.js:694:18)
      at _drainQueueStep (/home/ubuntu/postsender/node_modules/bluebird/js/release/async.js:138:12)
      at _drainQueue (/home/ubuntu/postsender/node_modules/bluebird/js/release/async.js:131:9)
      at Async._drainQueues (/home/ubuntu/postsender/node_modules/bluebird/js/release/async.js:147:5)
      at Immediate.Async.drainQueues [as _onImmediate] (/home/ubuntu/postsender/node_modules/bluebird/js/release/async.js:17:14)
      at processImmediate (timers.js:638:19)

All of the query codes about add coment i wrote have no problem, so i just don't know why.
This error is about Artical after my debug and debug, i just don't know where query the articals.
But every thing goes well except this error.

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.