codestates / codestates/AnimalChat

[Error Handling๐Ÿ‘พ] aws pipeline ๋ฐฐํฌ์ค‘ crypto ์—๋Ÿฌ

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
error
Dominant language
JavaScript
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## ์–ด๋–ค ์—๋Ÿฌ์ธ๊ฐ€์š”?
- aws ํŒŒ์ดํ”„๋ผ์ธ ๋ฐฐํฌ๋Š” ์ •์ƒ์ ์œผ๋กœ ๋˜์ง€๋งŒ ์•„๋ž˜์™€ ๊ฐ™์€ ์ด์œ ๋กœ ์„œ๋ฒ„๊ฐ€ ์ž‘๋™์„ ์•ˆํ•จ

## ์—๋Ÿฌ ๋ฉ”์‹œ์ง€
```jsx
TypeError [ERR_INVALID_ARG_TYPE]: The "password" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined
at validateArrayBufferView (internal/crypto/util.js:88:11)
at check (internal/crypto/scrypt.js:77:14)
at Object.scryptSync (internal/crypto/scrypt.js:51:13)
at Object. (/home/ubuntu/AnimalChat/server/controllers/users/setpw.js:5:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
```

## ์—๋Ÿฌ ํ•ธ๋“ค๋ง ๋ฐฉ๋ฒ•
- ํ•ธ๋“ค๋ง ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ๊ธ€์ด๋‚˜ ์ฝ”๋“œ๋กœ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.
```jsx
crypto ๊ด€๋ จํ•œ ์—๋Ÿฌ ์ธ ๊ฒƒ ๊ฐ™์•„์„œ ๋‹ค๋ฅธ ์•”ํ˜ธํ™” ๋ฐฉ์‹์ธ bcrypt๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๋ณ€๊ฒฝํ•ด์ฃผ์—ˆ๋‹ค.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.