Code Monkey home page Code Monkey logo

chat's Introduction

chat's People

Contributors

houtong-s avatar obliviontime 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

chat's Issues

后端nginx配置反向代理时连接失败

我在nginx中添加了一个反代 chat.xxx.xxx(从以前qq机器人的ws反代那边复制过来的)

    location / {
      proxy_pass http://127.0.0.1:8888; 
      proxy_redirect off; 
      proxy_set_header Host $host; 
      proxy_set_header X-Real-IP $remote_addr; 
      proxy_read_timeout 3600s; 
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
      proxy_set_header Upgrade $http_upgrade; 
      proxy_set_header Connection $connection_upgrade; 
    }

使用绑定的域名作为服务器地址(https://chat.xxx.xxx)时无法连接,添加端口号后(https://chat.xxx.xxx:8888)连接正常

请问是此项目不支持这种方式,还是nginx的配置有问题呢

image
我尝试自己调试了一下代码,发现当不带端口号时,登录的接口这里返回的response会显示undefined
(没学过js,所以再深一点的debug就不太清楚了xd)

前端页面打开问题(electron报错)

你好,第一次了解electron这个知识点,就是我想在浏览器上调试代码,打开报错 const remote = window.require('electron').remote;
ndow.require is not a function 可能是我理解有问题 你们开发不会出现这个错误吗 那你们是怎么调试页面的呢? 谢谢

http running at https://127.0.0.1:8888 连接失败 ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES)

我的命令行和navicat 都可以连上我本地mysql ,跑你这代码咋不行。


mysql> select host,user,plugin,authentication_string from mysql.user;
+-----------+------------------+-----------------------+------------------------------------------------------------------------+
| host      | user             | plugin                | authentication_string                                                  |
+-----------+------------------+-----------------------+------------------------------------------------------------------------+
| %         | root             | mysql_native_password | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B                              |

功能需求

能否让程序关闭后最小化到任务栏,让其可以继续接收消息,也添加一个删除好友的功能,最好可以通过Windows10和11的通知来推送新消息

麻烦在文档中注明开发环境问题

目前光使用UI文件的时候发现了几处报错
yran install的时候会提示yarn 中node 版本过高的问题
yran serve的时候会提示npx browserslist@latest --update-db和其他的报错

支持一下

数据库不怎么懂 研究下数据库再来跑你的项目 /doge

前端的代码和nodejs最新稳定版不兼容,安装依赖报错:error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.16.0"

# dong @ lufei in E:\test\chat\ui on git:main x [21:42:14]
$ yarn
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

# dong @ lufei in E:\test\chat\ui on git:main x [21:47:18] C:1
$ node -v
v18.16.0

数据库连接问题

数据库使用自己的账号密码,不仅要更改server/db/db.js中的账号密码,还要移除server/config.json,因为第二个文件存在则默认使用里面的账号密码

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.