mjgo7283
@mjgo7283
Reviews Written
-
Average Rating
-
The introduction is empty
Posts
Q&A
existsByEmail ์์ Type '{_id: any; }' is not assignable to type 'boolean'. ์๋ฌ ๋ฐ์
https://mongoosejs.com/docs/migrating_to_6.html#model-exists-returns-a-lean-document-instead-of-booleanmongoose v6 ์ด์์์๋ exist()์์ boolean ๊ฐ์ด ์๋ _id ๊ฐ์ return ํด์ฃผ๋ ๊ฒ ๊ฐ์ต๋๋ค.
- 3
- 4
- 1.5K
Q&A
ํ๋ก ํธ์๋ ์ฝ๋๋ฅผ ์คํํ๋ฉด ํํ์ด์ง์์ ์๋ฌ๊ฐ ๋น๋๋ค
npm run build๋ก ๋น๋ ํnpm run start ๋ช ๋ น์ด๋ก ์คํํ๋ ์ค๋ฅ๊ฐ ๋์ง ์๋ค์,
- 0
- 1
- 431




