Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

core/setup.js admin에서 기존 존재하는 id를 입력하면 콘솔에 에러를 출력하는 문제 #65

Closed
ledgku opened this issue Sep 29, 2016 · 0 comments

Comments

@ledgku
Copy link
Contributor

ledgku commented Sep 29, 2016

console.log(err)를 해당 원인 메세지로 변경 필요

$ node core/setup.js admin
= Make Administrator account

B: 관리자 아이디를 입력해주세요... (E-Mail 형태를 사용합니다.): (admin@blititor.com)
B: Enter administrator password: *

= Make administrator account...
= 관리자 로그인 정보 저장에 실패했습니다.
{ Error: ER_DUP_ENTRY: Duplicate entry 'admin@blititor.com' for key 'auth_user_id_unique'
at Query.Sequence._packetToError (/home/dongkyulee/WebstormProjects/blititor/node_modules/mysql/lib/protocol/sequences/Sequence.js:51:14)
at Query.ErrorPacket (/home/dongkyulee/WebstormProjects/blititor/node_modules/mysql/lib/protocol/sequences/Query.js:83:18)
at Protocol._parsePacket (/home/dongkyulee/WebstormProjects/blititor/node_modules/mysql/lib/protocol/Protocol.js:280:23)
at Parser.write (/home/dongkyulee/WebstormProjects/blititor/node_modules/mysql/lib/protocol/Parser.js:74:12)
at Protocol.write (/home/dongkyulee/WebstormProjects/blititor/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at Socket. (/home/dongkyulee/WebstormProjects/blititor/node_modules/mysql/lib/Connection.js:109:28)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
--------------------

soomtong added a commit that referenced this issue Sep 29, 2016
Fixed #65(core/setup.js admin에서 기존 존재하는 id를 입력하면 콘솔에 에러를 출력하는 문제)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant