Coder Social home page Coder Social logo

chat-room's Introduction

Platform&Tools



Toys

AIGC收藏夹

Console&Game

Genshin Impact

⬇️点击下方图片留言⬇️

Vue.js     🕓 6h37m ██████████▏░░░░░░░░░░░░░░░░░ 36.5%
TypeScript 🕓 6h12m █████████▌░░░░░░░░░░░░░░░░░░ 34.2%
JavaScript 🕓 3h22m █████▏░░░░░░░░░░░░░░░░░░░░░░ 18.6%
Less       🕓 1h18m ██░░░░░░░░░░░░░░░░░░░░░░░░░░  7.2%
JSON       🕓 14m   ▍░░░░░░░░░░░░░░░░░░░░░░░░░░░  1.4%

powered by waka-box-go

🎮 Call of Duty®                     🕘 1 hrs 3 mins

powered by steam-box

chat-room's People

Contributors

fossabot avatar jingmatrix avatar journey-ad avatar

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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chat-room's Issues

我使用yarn start以后出现的错误

前排声明
系统是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.

demo dead zzz

chat.getloli.com 昨天看消息发不出去了
今天看直接访问不了了
😦

可任意修改消息或名字中的css

Screen Shot 2022-02-20 at 7 18 04 PM
可由此做到渲染过于复杂的页面导致浏览器卡死,或将元素fixed z-index: 9999,覆盖整个页面导致其他人无法发送消息,同时对老旧版本浏览器存在一定的安全风险
建议颜色选择处在服务器端过滤和验证颜色字符串

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.