moke8 / aishuati-plus-wechat Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
utils/global.js 配置不同环境下的API服务地址
感谢
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" ],
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'
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.