Git Product home page Git Product logo

nine-chat-backend's Issues

第一次运行项目,后端报错500

注册登录第一个账号的时候,http请求为500,在Swagger中进行用户注册测试也不行
后端报错内容:
[Nest] 9560 - 2022/07/10 12:41:30 ERROR [ExceptionsHandler] classTransformer.plainToClass is not a function
TypeError: classTransformer.plainToClass is not a function
at ValidationPipe.transform (E:\Course\Nine-chat-backend\node_modules_@[email protected]@@nestjs\common\pipes\vali
dation.pipe.js:52:39)
at E:\Course\Nine-chat-backend\node_modules_@[email protected]@@nestjs\core\pipes\pipes-consumer.js:16:33
at processTicksAndRejections (node:internal/process/task_queues:96:5)

前端运行缺少模块

These dependencies were not found:

* @/components/Chat/ChatHeader in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&
* @/components/Chat/ChatLrc in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&
* @/components/Chat/ChatMessageFrame in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&
* @/components/Chat/ChatProgress in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&
* @/components/Chat/MessagePanel in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&
* @/components/Chat/MusicPlayer in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&
* @/components/PreImg in ./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--13-0!./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@cache-loader/dist/cjs.js??ref--1-0!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/views/Chat/index.vue?vue&type=script&lang=js&

To install them, you can run: npm install --save @/components/Chat/ChatHeader @/components/Chat/ChatLrc @/components/Chat/ChatMessageFrame @/components/Chat/ChatProgress @/components/Chat/MessagePanel @/components/Chat/MusicPlayer @/components/PreImg

db file

mysql的数据文件放上来,你把你的数据库公开是有风险的!

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.