inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기

비디오 업로드 FORM 만들기 (1)

드랍존이 생성되지않습니다.

287

차경철

작성한 질문수 3

0

같은코드로 작성했는데 드랍존이 생성되지않습니다.

한번만 봐주세요!

mongodb react redux nodejs

답변 3

0

차경철

감사합니다! 해결했습니다!

 {({ getRootPropsgetInputProps })=>(
                    <div style={{width : '300px'height :'240px'border:'1px solid lightgray'display : 'flex',
                        alignItems:'center'justifyContent:'center'}} {...getRootProps()}>
                    <input {...getInputProps()}/>
                    <icon type="plus" style={{fontSize : '3rem'}}/>
                    </div>
                )} <- 이부분을 }} 이렇게 해놨었더라구요

0

John Ahn

안녕하세요 차경철님 늦게 까지 고생하셨네요! 

근데 그 아래 나온 경고들은 안보이는것과는 관계가 없을텐데 
Css 문제 인거 같긴한데 그쪽부분 다시 한번 체크해봐주세요 ~ 
그래도 안되면 다시 알려주세요 ~ 

0

차경철

Compiled with warnings.

[1]

[1] src\_reducers\user_reducer.js

[1]   Line 9:1:  Unexpected default export of anonymous function  import/no-anonymous-default-export

[1]

[1] src\components\views\LoginPage\LoginPage.js

[1]   Line 75:11:  'dirty' is assigned a value but never used        no-unused-vars

[1]   Line 80:11:  'handleReset' is assigned a value but never used  no-unused-vars

[1]

[1] src\components\views\RegisterPage\RegisterPage.js

[1]   Line 92:11:  'dirty' is assigned a value but never used        no-unused-vars

[1]   Line 97:11:  'handleReset' is assigned a value but never used  no-unused-vars

[1]

[1] src\components\views\VideoUploadPage\VideoUploadPage.js

[1]   Line 3:35:  'message' is defined but never used  no-unused-vars

[1]   Line 3:51:  'Icon' is defined but never used     no-unused-vars

[1]

[1] src\hoc\auth.js

[1]   Line 6:1:  Unexpected default export of anonymous function  import/no-anonymous-default-export

[1]

[1] Search for the keywords to learn more about each warning.

[1] To ignore, add // eslint-disable-next-line to the line before.

혹시나 이것때문에 안되는건지해서 같이 올려봅니다. 오늘은 이만 잠을 청해야겠습니다. ㅠ

npm i하면 바로, 라이브러리 오류없이 받아지고, 구동되는 소스는 없나요?

0

52

1

ERROR in ./node_modules/antd/es/version/index.js 2:15-22

0

221

1

자료 없음

0

321

1

이미지 깨짐

0

334

1

npm run dev 동작 에러

0

304

1

npm run dev 동작 에러

0

294

1

npm run dev 동작에러납니다...

0

660

1

npm run dev 실행 오류

0

653

1

비디오 업로드, 로그인, 회원가입 504 error

0

1056

1

시작부터 오류생기시는 분들 해결법입니다.

1

466

1

오류 해결 공유

0

458

1

npm install 에러 질문드립니다.

0

1120

2

아예 몽고DB에 연결한다고만 하고 연결이 안되고 있습니다.

0

550

1

해당 오류 해결 방법 좀 알려주세요 ㅠㅠ

0

515

1

로컬스토리지에 대한 질문입니다!!

0

515

0

video가 안 나타나는 문제

0

893

1

ffmpeg 설치 후 cannot read property 'format' of undefined 500 에러 해결

0

470

0

typeError or 콘솔 500 뜨는분..

0

336

0

npm run dev 관련 오류

0

578

1

답글이 달리지않고 디비에도 저장되지않으며 새로고침이 됩니다.

0

246

0

useState 자동 생성

0

343

1

TypeError: Cannot read properties of undefined (reading 'format')

0

1243

2

userData undefined / state에 user.userData가 없습니다.

0

245

0

antd Input background color 변경

0

236

0