⬇️点击下方图片留言⬇️
|
|
一个普通的聊天室
Home Page: https://chat.getloli.com/
License: MIT License
⬇️点击下方图片留言⬇️
|
|
在您的示列站点 https://chat.getloli.com/ 中
已经很长一段时间出现了证书错误,导致cloudflare无法正确回源站点造成无法访问的问题,希望能够修复
前排声明
系统是debian是用的vm虚拟机
这是yarn install的过程yarn install
yarn install v1.22.4
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning sqlite3 > node-gyp > [email protected]: request has been deprecated, see request/request#3142
warning sqlite3 > node-gyp > request > [email protected]: this
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 22.34s.
yarn start
yarn run v1.22.4
$ node index.js
/www/wwwroot/chat.xiaoxiang.ml/chat-room/node_modules/mongoose/lib/connection.js:581
throw new MongooseError('The uri
parameter to openUri()
must be a ' +
^
MongooseError: The uri
parameter to openUri()
must be a string, got "undefined". Make sure the first parameter to mongoose.connect()
or mongoose.createConnection()
is a string.
at NativeConnection.Connection.openUri (/www/wwwroot/chat.xiaoxiang.ml/chat-room/node_modules/mongoose/lib/connection.js:581:11)
at Mongoose.connect (/www/wwwroot/chat.xiaoxiang.ml/chat-room/node_modules/mongoose/lib/index.js:335:15)
at Object. (/www/wwwroot/chat.xiaoxiang.ml/chat-room/db/mongodb.js:6:10)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/www/wwwroot/chat.xiaoxiang.ml/chat-room/db/index.js:9:10)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
我想在用户进入后随机用户名的时候user_ 123 使用这种形式 要修改那段代码呢?
chat.getloli.com 昨天看消息发不出去了
今天看直接访问不了了
😦
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.