typeorm君は誰だ?
スペイン人ではなくtypeormを使用してタイプスクリプトを作成するプロジェクトが行われています.データベーステーブルは作成されていますが... これはまだ初期段階なので情報が少なすぎるのでしょうか?それとも種子機が存在しないためのエラーでしょうか?
公式文書はまだ読んでいませんが.
公式文書はまだ読んでいませんが.
/Users/taegwonson/Desktop/GG/server/src/error/TypeORMError.ts:7
super(message);
^
QueryFailedError: ER_TABLE_EXISTS_ERROR: Table 'users' already exists
at QueryFailedError.TypeORMError [as constructor] (/Users/taegwonson/Desktop/GG/server/src/error/TypeORMError.ts:7:9)
at new QueryFailedError (/Users/taegwonson/Desktop/GG/server/src/error/QueryFailedError.ts:9:9)
at Query.<anonymous> (/Users/taegwonson/Desktop/GG/server/src/driver/mysql/MysqlQueryRunner.ts:196:37)
at Query.<anonymous> (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/Connection.js:526:10)
at Query._callback (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/Connection.js:488:16)
at Query.Sequence.end (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
at Query.ErrorPacket (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/protocol/sequences/Query.js:92:8)
at Protocol._parsePacket (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/Users/taegwonson/Desktop/GG/server/node_modules/mysql/lib/protocol/Parser.js:43:10) {
query: 'CREATE TABLE `users` (`id` int NOT NULL AUTO_INCREMENT, `emaul` varchar(255) NOT NULL, `nickname` varchar(255) NOT NULL, `image` varchar(255) NOT NULL, UNIQUE INDEX `IDX_13d10a7eb1b62f0b06c4b3df6b` (`emaul`), PRIMARY KEY (`id`)) ENGINE=InnoDB',
parameters: undefined,
サーバーで正常に開いているコンソールを使って、彼も見て、彼はすぐにエラーを吐き出して、サーバーはエラーを投げ出して、今晩私たちはこの問題を解決します.Reference
この問題について(typeorm君は誰だ?), 我々は、より多くの情報をここで見つけました https://velog.io/@kapuist/typeorm-넌누구야テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol