inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

Node.js 교과서 - 기본부터 프로젝트 실습까지

시퀄라이즈 관계 설정하기

에러 때문에 질문드려여

160

terecal

작성한 질문수 162

0

에러 때문에 질문드려여

실행

(fast) C:fast_ajaxnpm_startlearn-sequelize>npm start

에러 내용

learn-sequelize@0.0.0 start C:fast_ajaxnpm_startlearn-sequelize

node ./bin/www

sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators node_modulessequelizelibsequelize.js:242:13

crypto.js:99

this._handle.update(data, encoding);

^

TypeError: Data must be a string or a buffer

at Hash.update (crypto.js:99:16)

at sha1 (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libauth_41.js:31:8)

at Object.token [as calculateToken] (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libauth_41.js:65:18)

at new HandshakeResponse (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libpacketshandshake_response.js:28:26)

at ClientHandshake.sendCredentials (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libcommandsclient_handshake.js:51:31)

at ClientHandshake.handshakeInit (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libcommandsclient_handshake.js:137:12)

at ClientHandshake.execute (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libcommandscommand.js:39:22)

at Connection.handlePacket (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libconnection.js:455:32)

at PacketParser.onPacket (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libconnection.js:73:18)

at PacketParser.executeStart (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libpacket_parser.js:75:16)

at Socket. (C:fast_ajaxnpm_startlearn-sequelizenode_modulesmysql2libconnection.js:80:31)

at emitOne (events.js:116:13)

at Socket.emit (events.js:211:7)

at addChunk (_stream_readable.js:263:12)

at readableAddChunk (_stream_readable.js:250:11)

at Socket.Readable.push (_stream_readable.js:208:10)

at TCP.onread (net.js:597:20)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! learn-sequelize@0.0.0 start: node ./bin/www

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the learn-sequelize@0.0.0 start script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR! C:UsershyunsepkAppDataRoamingnpm-cache_logs2018-11-21T11_28_01_102Z-debug.log

nodejs javascript mysql mongodb

답변 1

0

제로초(조현영)

비밀번호가 제대로 입력되었고 서버로 전달되었는지 확인해보세요.

실제 서비스에서도 cluster를 사용하나요?

1

314

2

캐싱에 관하여

0

279

3

salt를 실무에서 사용할때 항상 randomBytes로 만들어줘야 하나요?

0

347

1

게시물 올리기 오류

0

408

1

캐슁 이후 로그인창

0

266

1

kakao passport 질문있습니다.

0

493

3

global객체 공유 질문드립니다.

1

418

1

서버가 죽어버리네요

0

1047

8

포링키 문제..

0

235

2

커넥션 플래시 설치문제

0

216

2

익스프레스 제너레이터? 설치문제

0

2586

6

redis 질문입니다.

0

305

1

9장 세션을 DB에 저장시 리다이렉션 오류 발생

0

874

8

프레임워크 선택에 관하여 질문이 있습니다.

0

300

3

시퀄라이즈 질문입니다 ! !

0

588

1

리뉴얼 강의 12강 socket.io에서 req.session접근 관련 질문

0

922

6

oAuth 질문입니다.

0

356

3

GCP 질문입니다.

0

366

1

Passport 모듈 로그인 구현관련

0

720

6

카카오 로그인 관련 질문입니다!!

0

606

4

스스로 해보기 10-16 nunjuncks 질문있습니다

0

499

5

제로초님 HTTP 완벽가이드 추천해주신거 너무 잘 읽었습니다.

0

317

2

gif채팅방 nunjucks관련 질문입니다!

0

338

3

현영님 몽고db관련 질문입니다.

0

233

3