무료
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
열심히 따라가고 있는데 에러가 났습니다.
열심히 따라가면서 강의 수강중입니다. 그런데 위 문제가 생겼습니다. 순서를 따라가면서도 헷갈리고 솔직히 잘 모르겠습니다. 간단한 문제로 보이긴 하고 알고 나면 다음에는 해결할 것 같은데 지금 너무 모르겠습니다. 깃헙주소는 https://github.com/heesoo-park/youtube-clone 입니다. 강의도 여러번 돌려보면서 확인하고 완성본 내용도 확인하고 안 되는 영어로 구글링도 했지만 잘 풀리지 않네요 저 writer 문제뿐만 아니라 key 에러도 있더라고요 하핳;; 정신피폐해집니다...
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
로컬호스트 3000 to 5000 에러 어떻게 해결하셨나요들..
[HPM] Error occurred while trying to proxy request /api/users/register from localhost:3000 to http://localhost:5000 회원가입 submit 버튼 클릭시 에러 발생하고 무응답입니다 bcrypt 설치를 하라는 글을 보아 npm i bcrypt --save 실행해도 에러 발생하고 그 이전에 npm i -g windows-build-tools 를 먼저 설치하라는 글을 보고 설치해도 에러가 해결되지 않고 있습니다 .ㅠ. ㅠ 뭐부터 건들어 봐야 할까요
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
cannot use import statement outside a module
여기까지는 아무런 문제없이 잘 작동하다가 왜 여기 강의 끝까지 하고나니까 Cannot use import Statement outside a module과 같은 에러를 뿜어낼까요... 이것도 이해가 안가는데 package.json에 type:module로 변경하면 기존의 보일러플레이트 core에 있는 require를 import로 변경하는것이 강요되는데, 이경우에는 syntaxError: unexpected token '<'를 return <div> ... </div> ^ 와 같은 말도 안되는 에러를 뿜습니다.... 너무 당황스럽고 화가 치밉니다
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
아바타와 유저네임 에러
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 Vi관련 문의는 1:1 문의하기를 이용해주세요. avatar와 유저네임을 가져오기 위해 video.writer.name 이나 image를 사용하면 property 값을 찾기 못한다는 에러가 계속 뜹니다. video의 다른 정보들은 array값에 잘 전달되어서 오는데 왜 에러가 나는지 모르겠습니다.. 혹시 저와 같은 에러가 생기는 분 계신가요
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
저는 왜 댓글 정보들 중에 writer 가 없을까요..
저는 왜 response.data.comments 정보에 writer 정보가 왜 없나요??/ ㅠㅠ writer 정보가 없어서 name과 image를 못받아 옵니다... writer 정보는 어디서 추가 하나요??
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
gutter와 관련
작은 해상도에서 사진과 같이 사이즈 크기가 계속해서 변화하는 괴상한 모습이 보입니다. 영상 내의 코드와 깃허브 코드를 비교해본 결과, row에 gutter 속성을 추가한 부분이 달라서 속성을 제거해보니 위처럼 떨리는 문제가 발생하지 않습니다. 동영상의 크기가 width 100% 속성 맞추려고 하는 상황에서 저렇게 되는 상황인것같습니다. gutter를 없이 해도 괜찮은지, 아니면 왜 제 결과물에만 문제가 생기는지 알고싶습니다.
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
이 오류는 뭔가요?? 잘 작동은 하는데 오류가 나네요
Warning: Received `true` for a non-boolean attribute `href`. If you want to write it to the DOM, pass a string instead: href="true" or href={value.toString()}. in a (at SideVideo.js:27) in div (at SideVideo.js:26) in div (at SideVideo.js:25) in SideVideo (at VideoDetailPage.js:45) in div (created by Context.Consumer) in Col (at VideoDetailPage.js:44) in div (created by Context.Consumer) in Row (at VideoDetailPage.js:29) in VideoDetailPage (at auth.js:38) in AuthenticationCheck (created by Context.Consumer) in Route (at App.js:27) in Switch (at App.js:22) in div (at App.js:21) in Suspense (at App.js:19) in App (at src/index.js:29) in Router (created by BrowserRouter) in BrowserRouter (at src/index.js:28) in Provider (at src/index.js:21) 이 오류는 어떻게 없애나요???
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
비디오 에러 제발 봐주세요 ㅠ
삭제된 글입니다
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
비디오가 안떠요
비디오가 안뜨고 계속 loading 만 뜹니다 POST http://localhost:3000/api/video/getVideoDetail 404 (Not Found) dispatchXhrRequest @ xhr.js:178 xhrAdapter @ xhr.js:12 dispatchRequest @ dispatchRequest.js:52 Promise.then(비동기) request @ Axios.js:61 Axios.<computed> @ Axios.js:86 wrap @ bind.js:9 (익명) @ VideoDetailPage.js:13 commitHookEffectListMount @ react-dom.development.js:19731 commitPassiveHookEffects @ react-dom.development.js:19769 callCallback @ react-dom.development.js:188 invokeGuardedCallbackDev @ react-dom.development.js:237 invokeGuardedCallback @ react-dom.development.js:292 flushPassiveEffectsImpl @ react-dom.development.js:22853 unstable_runWithPriority @ scheduler.development.js:653 runWithPriority$1 @ react-dom.development.js:11039 flushPassiveEffects @ react-dom.development.js:22820 performSyncWorkOnRoot @ react-dom.development.js:21737 (익명) @ react-dom.development.js:11089 unstable_runWithPriority @ scheduler.development.js:653 runWithPriority$1 @ react-dom.development.js:11039 flushSyncCallbackQueueImpl @ react-dom.development.js:11084 flushSyncCallbackQueue @ react-dom.development.js:11072 unbatchedUpdates @ react-dom.development.js:21909 legacyRenderSubtreeIntoContainer @ react-dom.development.js:24757 render @ react-dom.development.js:24840 ./src/index.js @ index.js:20 __webpack_require__ @ bootstrap:784 fn @ bootstrap:150 1 @ serviceWorker.js:135 __webpack_require__ @ bootstrap:784 checkDeferredModules @ bootstrap:45 webpackJsonpCallback @ bootstrap:32 (익명) @ main.chunk.js:1 createError.js:16 Uncaught (in promise) Error: Request failed with status code 404 at createError (createError.js:16) at settle (settle.js:17) at XMLHttpRequest.handleLoad (xhr.js:61) 오류이고 return res.status(200).json({success:true, videoDetail}) 여기서 videoDetail 값이 안들어 오는것 같아요 뭐가 문젠가요 ㅠㅠㅠ
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
에러 해결이 안됩니다 자꾸 Gateway Timeout 이 뜹니다
따라하다 동영상 썸네일 부분에서 자꾸 이 에러가 뜨는데 '전체적인 틀과 MongoDB연결'파트의 질문답변 봐도 도저히 해결이 안됩니다 안돼서 강사님이 올려주신 완성본으로 테스트 해봤는데요, 루트와 client에 npm install, multer install ffmpeg install npm install fluent-ffmpeg 까지 인스톨 했는데도 계속 이게 뜹니다 너무 답답해요 ㅠㅠㅠㅠ ......미칠것 같아요 bycryptjs 변경도 해보고 global 어쩌구 하는 것도 깔아봤다가 오히려 꼬이기만 하는것 같아 다른 새 컴퓨터에 강사님 코드로 해봤으나 안됩니다... 몽고 db 아이디와 비밀번호 다 맞구요 ffmpeg 깔려있는거 맞습니다 윈도우라 환경변수 설정 다 해줬고 파워쉘에서 깔린거 확인 몇번이나 했구요.. 우선 터미널에는 [HPM] Error occurred while trying to proxy request /api/video/thumbnail from localhost:3000 to http://localhost:5000/ (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors) 이게 계속 뜨네요 썸네일 부분 할떄마다...동영상은 저장이 되는거 같은데..하....너무..힘들어요.. ㅜㅜ 왜..왜안되는걸까요..?ㅠ...
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
도와주세요 ㅠㅠ
이런 에러가 계속 나오네요 서버 5000번 포트에 가면 Cannot GET / 404 에러가 나오고요. 저 http://192.168.25.18/ 에는 제가 옛날에 만들어본 웹사이트가 나와요. 그리고 client에서 서버로 요청 보내보면 [HPM] Error occurred while trying to proxy request /api/video/uploadfiles from localhost:3000 to http://localhost:5000 (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors) 이런 에러가 나옵니다. 도와주세요ㅠㅠ unibook1283/yotubeApp (github.com)
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
동영상 썸네일 부분에서 서버 문제가 발생합니다
구글링 하고 해당 강의에서 비슷한 유형의 질문이 있는지 찾아 보았으나 딱히 해결법은 안나와서 질문 드립니다. 동영상을 첨부하고 썸네일을 받아오는 과정에서 생기는 오류입니다. 동영상은 uploads 폴더에 업로드가 되는 것 같으나 썸네일은 폴더에 저장도 되지 않고 계속 이 오류가 발생합니다. ffmpeg은 잘 설치된 걸로 확인이 되구요 npm install fluent-ffmpeg 했을 때 오류가 나긴 합니다 > bcrypt@3.0.8 install C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Pre-built binaries not installable for bcrypt@3.0.8 and node@14.16.1 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error socket hang up gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - executable path is "C:\Users\ \AppData\Local\Programs\Python\Python39\python.exe" gyp ERR! find Python - "C:\Users\ \AppData\Local\Programs\Python\Python39\python.exe" could not be run gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - executable path is "C:\Users\ \.windows-build-tools\python27\python.exe" gyp ERR! find Python - "C:\Users\ \.windows-build-tools\python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19042 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\정예지\\Downloads\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\ 정예지\\Downloads\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt gyp ERR! node -v v14.16.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\정 예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.19042 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\정예지\\Downloads\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt node-pre-gyp ERR! node -v v14.16.1 node-pre-gyp ERR! node-pre-gyp -v v0.14.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\정예지\Downloads\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bcrypt@3.0.8 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@3.0.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\정예지\AppData\Roaming\npm-cache\_logs\2021-07-25T08_06_12_495Z-debug.log 혹시 이게 설치가 제대로 되지 않아서 일까요? ffmpeg를 깔고 컴퓨터를 재부팅했음에도 계속 같은 오류가 발생합니다.ㅜㅜ 저게 문제라면 왜 제대로 깔리지 않는 걸까요? 혹시나 싶어 vscode의 터미널이 아니라 cmd창을 관리자권한으로 실행해 install해봐도 똑같습니다 혹시나 싶어 강사님의 전체 코드를 다운 받아 npm run dev 해보았으나 같은 부분에서 오류가 발생합니다 (504오류) 초보라 오류코드 위주로 구글링해보는데도 잘 모르겠네요...답변 꼭 부탁드립니다
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
비디오 썸네일 생성하기가 안됩니다
안녕하세요 선생님 강의해주신 덕분에 수업을 잘 듣고 있습니다. 그런데 잘 안되는 부분이 있어서 질문 올립니다. 똑같이 따라한다고 했는데 저는 동영상이 올라가지 않습니다. 에러를 찾아봤는데 어디를 고쳐야 할지 잘 모르겠습니다. 콘솔에 찍힌 에러들은 아래와 같습니다. 번거로우시겠지만 한 번 봐주시면 감사하겠습니다. Warning: Failed prop type: Invalid prop `onClick` of type `boolean` supplied to `Button`, expected `function`. Warning: Failed prop type: Invalid prop `onSubmit` of type `boolean` supplied to `Form`, expected `function`. Warning: Received `true` for a non-boolean attribute `src`. If you want to write it to the DOM, pass a string instead: src="true" or src={value.toString()}. Warning: Received `true` for a non-boolean attribute `alt`. If you want to write it to the DOM, pass a string instead: alt="true" or alt={value.toString()}. Warning: Expected `onSubmit` listener to be a function, instead got a value of `boolean` type.
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
에러가 도저히 해결이 안돼서 도움 부탁드립니다.
구글링 해보면서 node 다시깔고 환경변수 설정도 해봤는데 여전히 몇일째 해결을 못하고 있습니다. 이전에 보일러플레이트 강의 들었을때 했던것도 같은 오류로 실행이 안되네요 어떻게 해결해야 할까요..? > react-boiler-plate@1.0.0 dev C:\Users\lnr99\Documents\boilerplate-mern-stack-master > concurrently "npm run backend" "npm run start --prefix client" [0] Error occurred when executing command: npm run backend [0] Error: spawn cmd.exe ENOENT [0] at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) [0] at onErrorNT (internal/child_process.js:467:16) [0] at processTicksAndRejections (internal/process/task_queues.js:82:21) [1] Error occurred when executing command: npm run start --prefix client [1] Error: spawn cmd.exe ENOENT [1] at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) [1] at onErrorNT (internal/child_process.js:467:16) [1] at processTicksAndRejections (internal/process/task_queues.js:82:21) [1] npm run start --prefix client exited with code -4058 [0] npm run backend exited with code -4058 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-boiler-plate@1.0.0 dev: `concurrently "npm run backend" "npm run start --prefix client"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-boiler-plate@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
답글 submit이 안넘어갑니다 ㅠㅠ
질문 내용과 비슷한 오류가 있어 리턴으로 수정해봐도 답글이 안나옵니다 답글에 글은 잘 넘어가는거 같은데 submit 버튼을 눌러도 아무런 반응이 없습니다 댓글은 잘 달리는데 이유를 모르겠네요 ㅠ
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
이 프로그램에서 Redux가 사용 되었나요?
선생님 안녕하세요. 제가 클론 코딩한 코드들을 정리하고 분석하는 과정에서 궁금증이 생겨서 이렇게 질문을 남기게 되었습니다. 이 프로그램에서 Client 파일 아래에 Action 과 Reducers 파일이 있고 그 안에서 Axios로 정보를 받아오고 뿌려주고 하는데 형식을 보기에는 Redux 같은데 dispatch도 안쓰고 subscribe 도 없고 store 도 없는데 이 프로그램 내에서 저 형식으로 작성된것이 Redux가 맞는지, Redux가 아니라면 무슨 이유를 가지셔서 저렇게 만드신건지 너무 궁금합니다. 제가 이제 React를 배우고있는 초보자라 귀찮으시더라도 답변 남겨주시면 너무 감사하겠습니다. 늘 좋은 강의 감사합니다 선생님. 추가 - 만약 Redux를 사용 하는 프로그램이 있다면 State 값이 변할 때 마다 DB에 접근을 하는지, 그리고 DB에 접근을 하지 않는 경우에도 Redux를 사용하는 경우가 있는지도 여쭤보고 싶습니다. 이런 양질의 강의를 무료로 보고 있으면서 너무 귀찮게 구는건 아닌지 걱정이 되지만 혼자 구글링 하면서 찾아보고 이해하려고 노력해 봤지만 한계가 느껴져서 질문 드립니다ㅠㅠ
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
정말정말 기본적인것인데 질문하나만 드려요,,
셀렉트 옵션값을 미리 지정하셨을때 const Private =[{1},{2}] 이런식으로 지정주는 곳을 import 바로 밑에 VideoUploadPage() 펑션이 시작하기 전에 선언하셨는데. 제가 그래서 펑션안에 넣으면 무슨 차이가 있는지 찍어 봤더니 펑션 안에서 선언하면 제가 셀렉트를 해도 바로 결과값이 나오지 않고 다른걸 셀렉트 해야 전의 값이 찍히더라고요. 이게 펑션 밖에서 선언하는게 왜 그런 차이가 나오는지 알 수 있을까요... 너무 기본적인것 같은데.. 저는 계속 이해가 잘 안되네요 ㅜ 죄송합니다. 너무 기본적인걸 여쭤봐서 ..
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
subscride 구독중 할때 질문이요
subscribe.lngth가 0이 아니면 구독중인거라고 하셨는데 이게맞는건가요? 정말 서비스되어 구독자수 100만명이면 내가구독을 안해도 subscribe.length가 100만개인거아닌가요? 제가 잘못이해한건가요? 감사합니다
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
업로드 post 에러
안녕하세요, 좋은 강의 잘 듣고 있습니다. 비디오 업로드하면 POST 에러가 나서 아래 질문들 찾아보면서 proxy 등 올려주신 해결 방법을 다 해봤는데도 해결되지 않아 질문 남깁니다 ㅜㅅㅜ.. 아래 질문해주신 분들 어떻게 해결하셨나요..
- 미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
창 닫았을 때 로그아웃
제가 boiler-plate 강의를 듣고 왔는데요 로그아웃 부분에서 로그아웃버튼을 눌렀을때만 로그아웃이 되는데 창을 닫았을때 자동 로그아웃이 되는 기능은 어떻게 만드는지 궁금합니다