Comments (2)
[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.
您好,后端项目启动报如下错误,无法定位错误原因,麻烦指点一下 [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)
- 输入框建议
- 有数据库表sql吗?
- 放置在网站二级目录,打开空白,如何修改打包呢
- 关于nestJS后台维护sockeIO实例的性能开销问题
- 抖音上刷到一个教学的跟你这个ui风格很像是作者吗
- 似乎删除好友另一边没有及时收到消息
- 用户密码加密方式 HOT 3
- 【请求】增加聊天记录搜索功能 HOT 1
- web3 HOT 1
- 请问如何修改mysql连接地址 HOT 2
- 有详细的安装教程吗 HOT 2
- /socket.io/?userId 接口一直出现{"code":1,"message":"Session ID unknown"} HOT 3
- 无法创建群 HOT 6
- .
- 建议:注册和登录机制 HOT 1
- 关于在树莓派3A+上部署的问题 HOT 1
- 打包后antd icons模块好大 请问如何优化 HOT 1
- npm build之没有生成dist目录 HOT 3
- Invalid value for username HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genal-chat.