Coder Social home page Coder Social logo

aishuati-plus-wechat's Issues

app.json文件少了一句"pages/search/search"

app.json文件少了一句"pages/search/search",导致搜索功能无效,应该是
"pages": [ "pages/index/index", "pages/type/type", "pages/timu/timu", "pages/webview/webview", "pages/opinion/opinion", "pages/export-fail/export-fail", "pages/search/search" ],

对项目有几点疑问

  1. 对于此项目的架构,个人理解 wechat 为用户前端、admin为后台前端、api为后端 不知是否正确?
  2. 对于第一点,前端是否考虑web的部署方式,而非绑定到微信小程序?
  3. 此项目是否包含(或计划支持)用户的答题进度、错题集等相关功能,且保存在服务器中方便用户在不同设备间相互切换且进度同步?
  4. 此项目还将继续更新维护吗?

api服务器运行一阵后会报错

D:\nodejs\shuti\api>node index.js
koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md index.js:72:5
(node:14512) Warning: Accessing non-existent property 'del' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
应用已经启动,http://localhost:3000
node:events:504
throw er; // Unhandled 'error' event
^

Error: Connection lost: The server closed the connection.
at Protocol.end (D:\nodejs\shuti\api\node_modules\mysql\lib\protocol\Protocol.js:112:13)
at Socket. (D:\nodejs\shuti\api\node_modules\mysql\lib\Connection.js:94:28)
at Socket. (D:\nodejs\shuti\api\node_modules\mysql\lib\Connection.js:526:10)
at Socket.emit (node:events:538:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on Connection instance at:
at Connection._handleProtocolError (D:\nodejs\shuti\api\node_modules\mysql\lib\Connection.js:423:8)
at Protocol.emit (node:events:526:28)
at Protocol._delegateError (D:\nodejs\shuti\api\node_modules\mysql\lib\protocol\Protocol.js:398:10)
at Protocol.end (D:\nodejs\shuti\api\node_modules\mysql\lib\protocol\Protocol.js:116:8)
at Socket. (D:\nodejs\shuti\api\node_modules\mysql\lib\Connection.js:94:28)
[... lines matching original stack trace ...]
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
fatal: true,
code: 'PROTOCOL_CONNECTION_LOST'
}

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.