codestates / codestates/AnimalChat
[Error Handling๐พ] aws pipeline ๋ฐฐํฌ์ค crypto ์๋ฌ
- 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.