Git Product home page Git Product logo

Comments (2)

cardman007 avatar cardman007 commented on July 30, 2024

[18:45:44] Starting compilation in watch mode...

node_modules/_@[email protected]@@types/prettier/index.d.ts:41:54 - error TS2315: Type 'IsTuple' is not generic.

41 type IndexProperties<T extends { length: number }> = IsTuple extends true
~~~~~~~~~~

node_modules/_@[email protected]@@types/prettier/index.d.ts:53:6 - error TS2456: Type alias 'IsTuple' circularly references itself.

53 type IsTuple = T extends [] ? true : T extends [infer First, ...infer Remain] ? IsTuple : false;
~~~~~~~

node_modules/_@[email protected]@@types/prettier/index.d.ts:53:65 - error TS2574: A rest element type must be an array type.

53 type IsTuple = T extends [] ? true : T extends [infer First, ...infer Remain] ? IsTuple : false;
~~~~~~~~~~~~~~~

node_modules/_@[email protected]@@types/prettier/index.d.ts:53:84 - error TS2315: Type 'IsTuple' is not generic.

53 type IsTuple = T extends [] ? true : T extends [infer First, ...infer Remain] ? IsTuple : false;
~~~~~~~~~~~~~~~

node_modules/_@[email protected]@@types/prettier/index.d.ts:96:5 - error TS2589: Type instantiation is excessively deep and possibly infinite.

96 call<

我报这种错。。

from genal-chat.

gislu avatar gislu commented on July 30, 2024

您好,后端项目启动报如下错误,无法定位错误原因,麻烦指点一下 [6:21:11 PM] Starting compilation in watch mode...

[6:21:15 PM] Found 0 errors. Watching for file changes.

[Nest] 7923 - 08/04/2022, 6:21:16 PM [NestFactory] Starting Nest application... [Nest] 7923 - 08/04/2022, 6:21:16 PM [InstanceLoader] AppModule dependencies initialized +66ms [Nest] 7923 - 08/04/2022, 6:21:16 PM [InstanceLoader] TypeOrmModule dependencies initialized +1ms [Nest] 7923 - 08/04/2022, 6:21:16 PM [InstanceLoader] PassportModule dependencies initialized +0ms [Nest] 7923 - 08/04/2022, 6:21:16 PM [InstanceLoader] JwtModule dependencies initialized +1ms [Nest] 7923 - 08/04/2022, 6:21:16 PM [TypeOrmModule] Unable to connect to the database. Retrying (1)... +81ms QueryFailedError: ER_INVALID_DEFAULT: Invalid default value for 'username' at new QueryFailedError (/usr/local/chat-server/node_modules/typeorm/error/QueryFailedError.js:11:28) at Query. (/usr/local/chat-server/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:170:45) at Query. (/usr/local/chat-server/node_modules/mysql/lib/Connection.js:526:10) at Query._callback (/usr/local/chat-server/node_modules/mysql/lib/Connection.js:488:16) at Query.Sequence.end (/usr/local/chat-server/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24) at Query.ErrorPacket (/usr/local/chat-server/node_modules/mysql/lib/protocol/sequences/Query.js:92:8) at Protocol._parsePacket (/usr/local/chat-server/node_modules/mysql/lib/protocol/Protocol.js:291:23) at Parser._parsePacket (/usr/local/chat-server/node_modules/mysql/lib/protocol/Parser.js:433:10) at Parser.write (/usr/local/chat-server/node_modules/mysql/lib/protocol/Parser.js:43:10) at Protocol.write (/usr/local/chat-server/node_modules/mysql/lib/protocol/Protocol.js:38:16) [Nest] 7923 - 08/04/2022, 6:21:19 PM [TypeOrmModule] Unable to connect to the database. Retrying (2)... +3030ms QueryFailedError: ER_INVALID_DEFAULT: Invalid default value for 'username' at new QueryFailedError (/usr/local/chat-server/node_modules/typeorm/error/QueryFailedError.js:11:28) at Query. (/usr/local/chat-server/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:170:45) at Query. (/usr/local/chat-server/node_modules/mysql/lib/Connection.js:526:10) at Query._callback (/usr/local/chat-server/node_modules/mysql/lib/Connection.js:488:16) at Query.Sequence.end (/usr/local/chat-server/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24) at Query.ErrorPacket (/usr/local/chat-server/node_modules/mysql/lib/protocol/sequences/Query.js:92:8) at Protocol._parsePacket (/usr/local/chat-server/node_modules/mysql/lib/protocol/Protocol.js:291:23) at Parser._parsePacket (/usr/local/chat-server/node_modules/mysql/lib/protocol/Parser.js:433:10) at Parser.write (/usr/local/chat-server/node_modules/mysql/lib/protocol/Parser.js:43:10) at Protocol.write (/usr/local/chat-server/node_modules/mysql/lib/protocol/Protocol.js:38:16)

数据库报错啊,这不是写着呢,检查下你安装的db配置就行了

from genal-chat.

Related Issues (20)

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.