안녕하세요 강의 잘 듣고 있습니다 다름이 아니라 안 되는게 있어서 질문을 드립니다.
705
5 câu hỏi đã được viết
코드 입니다
시작 할 때 config라는 폴더가 없어서 따로 만들고 한거 외엔
다 똑같이 했다고 생각을 했는데 이렇게 오류가 나오네요..
Câu trả lời 7
1
그리고 기존에 있던 상품을 클릭하면 상세 페이지로 이동을 하게 되어있는데 거기서도 또 오류가 뜨기 시작합니다..ㅜㅜ
마지막으로 메인화면으로 돌아갈 때, 그리고 리엑트를 실행 했을 때 메인화면이 뜨면서 오류가 한가지 더 뜨고 있습니다...
0
죄송한데 한번만 더 봐주실 수 있습니까? 그 뒤로 계속 다른 오류가 나서 소스코드 올려주신 걸로 적용을 해 봤는데도 오류가 계속 떠서 대체 뭐가 원인인지 잘 모르겠네요..바쁘실텐데 죄송합니다..
상품 등록하기를 누르면 저런 오류가 뜨고 있습니다.
0
로그를 본 결과 서버 쪽에 Product model을 보시면 discription으로 설정되어있는 것 같습니다.
프론트엔드에서는 description이라는 데이터를 보내지만 서버쪽에 Product의 discription이라고 되어있어 오류가 발생하고 있네요! 서버 Product Model에서 discription을 description으로 바꿔주세요!
0
Warning: A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component.
0
\dongyoungkim\inflearn\grab-market-server\node_modules\sequelize\lib\instance-validator.js:93:12)
at async model.save (C:\Users\kimcc\OneDrive\바탕 화면\자바\개인 웹 사이트 만들기\dongyoungkim\inflearn\grab-market-server\node_modules\sequelize\lib\model.js:3877:7)
at async Function.create (C:\Users\kimcc\OneDrive\바탕 화면\자바\개인 웹 사이트 만들기\dongyoungkim\inflearn\grab-market-server\node_modules\sequelize\lib\model.js:2207:12) {
errors: [
ValidationErrorItem {
message: 'Product.discription cannot be null',
type: 'notNull Violation',
path: 'discription',
value: null,
origin: 'CORE',
instance: [Product],
validatorKey: 'is_null',
validatorName: null,
validatorArgs: []
}
]
}
서버 쪽에서는 이런 오류가 뜨고 있고,
Warning: A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components
at input
at http://localhost:3000/static/js/vendors~main.chunk.js:72366:23
at div
at div
at div
at http://localhost:3000/static/js/vendors~main.chunk.js:73368:75
at FormItemInput (http://localhost:3000/static/js/vendors~main.chunk.js:72687:25)
at div
at http://localhost:3000/static/js/vendors~main.chunk.js:73558:34
at Field (http://localhost:3000/static/js/vendors~main.chunk.js:113696:94)
at WrapperField (http://localhost:3000/static/js/vendors~main.chunk.js:114203:20)
at FormItem (http://localhost:3000/static/js/vendors~main.chunk.js:72381:20)
at form
at Form (http://localhost:3000/static/js/vendors~main.chunk.js:114316:19)
at SizeContextProvider (http://localhost:3000/static/js/vendors~main.chunk.js:69729:23)
at InternalForm (http://localhost:3000/static/js/vendors~main.chunk.js:72189:69)
at div
at UploadPage (http://localhost:3000/static/js/main.chunk.js:1658:89)
at Route (http://localhost:3000/static/js/vendors~main.chunk.js:185380:29)
at Switch (http://localhost:3000/static/js/vendors~main.chunk.js:185582:29)
at div
at div
at App (http://localhost:3000/static/js/main.chunk.js:245:86)
at Router (http://localhost:3000/static/js/vendors~main.chunk.js:185015:30)
at BrowserRouter (http://localhost:3000/static/js/vendors~main.chunk.js:184635:35)
console.<computed> @ index.js:1
F12를 누르고 확인을 하니 저런 오류도 뜹니다 혹시 몰라서 둘다 올려봅니다..
[해결]그랩님 답변 주세요.
0
165
2
그랩님의 답변을 기다립니다/102강 전반적인 에러
0
144
2
[그랩님께]101강 안드로이드 에러들(Key prop)해결방법 궁금합니다.
0
126
2
[재질문][그랩님 답변 부탁드립니다]101강
0
143
2
[그랩님 답변 부탁드립니다]101강 Axios 에러와 502 Bad Gateway 질문
0
99
2
Ngrok 설치 후 forwarding Url 에러
0
134
2
[그랩님께,Ngrok 악성코드 인식 해결방법]질문 드립니다.
0
222
2
Ngrok 설치 후 forwarding Url로 연결 불가
0
138
1
그랩님,[꼭] 답변 부탁드립니다.
0
68
1
[꼭][[꼭] 그랩님, 답변 부탁드립니다], Failed to load resource: the server responded with a status of 404 (Not Found) 상품 상세 페이지 질문입니다.
0
155
1
6강/7강 수업
0
53
1
그랩님, 상품 상세 페이지 에러와 의문점 질문드립니다.
0
100
2
그랩님, 해결되지 않은 에러 메시지 [꼭] 답변 부탁 드립니다.
0
138
2
[재 질문]Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?
0
89
1
Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?
0
130
2
일반적인 css 꾸미기에서 width와 height의 값?
0
94
2
Windows에서의 업로드 후 홈화면 상품이미지 오류 해결방법
0
197
1
그랩마켓 웹화면 구현하기 -2 질문입니다.
0
121
1
react에 반영이 되지 않습니다.
0
243
1
터미널 npm install -g create-react-app 작성 후 오류
0
422
1
create-react-app my app 실행 시 에러
0
357
2
포스트맨 질문
0
100
1
<꼭 답변 부탁 드립니다>그랩선생님, [컴포넌트 사용하기] 강의에서 질문 있습니다.
0
261
2
그랩선생님, 질문 답변 부탁 드립니다.vscode에서 npm install -g create-react-app 입력 후 에러 입니다.
0
483
2

