안녕하십니까. 딥러닝, 머신러닝으로 손흥민 얼굴찾는 강의까지 끝내고 이제 여기까지 왔습니다. 이 강의는 그걸 토대로 뭔가를 만들고 주제도 흥미로워서 신청했는데요. 다름이 아니라 오프닝에서 나온 라즈베리파이, 받침대, 소리내는장치, 밧데리 까지 구매해서 직접 만들어보려고 엘레파치 라는곳에 가서 둘러보는데 너무 복잡하더라구요,,, 이런 하드웨어 제작이 처음이라 몰라서 그런지 라즈베리파이 하나만 하더라도 버전, 모델명이 다르고 선 하나를 구입하려해도 너무 많은 종류가 있고 그래서 주문할 엄두가 나질 않습니다. 저기 나오는 모든 부품의 정확한 부품이름을 알수있을까요 선생님!! 선까지두요!! 부탁드립니다.
안녕하세요! 강의 정말 재미있게 듣고 있는 학생입니다! 테스트 파일을 작성하다가 문득 궁금증이 들었는데요! 테스트파일을 여러개로 분리해서도 만들 수 있나요??? 코드길이가 400줄 되니깐 기능별로 만들어보면 가독성이 좋을 것 같은 생각이 들어서 가능한지 여쭤보고 싶어 질문드립니다
그냥 const User = await newPost.getUser() 한 값을 newPost.User = User; 이런 식으로 하면 안되고 아래와 같이 dataValues에 넣어줘야 되는데 원래 이런건가요..? const User = await newPost . getUser (); newPost . dataValues . User = User . dataValues ; // const fullPost = Object.assign({}, newPost.toJSON()); // const fullPost = await db.Post.findOne({ // where : {id:newPost.id}, // include:[{ // model : db.User, // attributes : ['id','nickname'], // }], // }); res . json ( newPost );
예전 수업에서 링크 주소를 문서에서 보이게 하는 방법을 들었던 것 같은데 아무리 찾아도 보이지 않습니다ㅠㅠ <li><a href="http://www.naver.com">네이버</a></li> 라고 하면 저는 '네이버' 라는 글만 문서에 뜨고 주소까지는 뜨지 않습니다ㅠㅠ 이번 수업에서 선생님께서 코딩한 것과 똑같이 했는데 왜 주소는 보이지 않는건지 모르겠습니다ㅠ
안녕하세요. 좋은 강의를 듣게해주셔서 우선 감사의 말씀드립니다 ^^ 조금 헷갈리는 부분이 있어서요! 아래와 같이 Order 앤터티 내에 orderItems 는 @OneToMany 후 mappedBy 를 통해 연간관계의 주인이 아니다고 선언을 해주었는데요. @OneToMany ( mappedBy = "order" , cascade = CascadeType. ALL ) private List<OrderItem> orderItems = new ArrayList<>() ; 연관관계의 주인이 아니기 때문에 해당필드에 대해 읽기만 가능하며 수정을 하더라도 수정에 대해 반영이 안된다고 이해를 했었습니다. 그런데 Order 엔터티의 orderItems 에 cascade 옵션을 걸어주어, 별도로 OrderItem 을 코드에서 save (혹은 persist) 하지 않아도 Order만 save 하니 orderItems 이 다 자동으로 persist가 되었는데요. 어떻게 보면, Order 가 연관관계 주인이 아님에도 OrderRepository.save(order) 를 통해 Order 앤터티에 의해 외래키 설정이 된것처럼 보이는데, 처음에는 연관관계의 주인이 아니니 되어선 안된다고 생각을 했었습니다. cascase 는 약간 예외적인 옵션인지, 제가 잘못 이해한부분이 있는지 궁금합니다.
item-list.vue 파일에 Property '$route' does not exist on type 'ItemList'. 이와 같은 에러가 발생합니다. 실행은 잘 되고 vs-code를 사용하고 있습니다. 아래 코드에서 $route 부분에 빨간줄이 그어져 있습니다. @ Watch ( '$store.state.todoList' , { deep: true }) stateUpdate () { const status : string = this . $route . params . status ; this . initRenderList ( status ); }
폴더 절대 경로 설정뒤에 https://github.com/hyunsokstar/vue_endgame/tree/master/vue-til ctrl + space로 접근하면 아래처럼 파일만 보여여 뭔가 설정을 잘못했을까여? vs code를 아예 다시 설치했는데도 잘안되여 해결 방법 아시면 알려주시면 감사여
"start" : "npm run dev" , 로 실행 시, /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js run start --scripts-prepend-node-path=auto > vue_frontend@1.0.0 start /Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend > npm run dev > vue_frontend@1.0.0 dev /Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend > webpack-dev-server --inline --progress --config build/webpack.dev.conf.js internal/modules/cjs/loader.js:985 throw err; ^ Error: Cannot find module '/Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/build/webpack.dev.conf.js' Require stack: - /Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack/bin/convert-argv.js - /Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack-dev-server/bin/webpack-dev-server.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15) at Function.Module._load (internal/modules/cjs/loader.js:864:27) at Module.require (internal/modules/cjs/loader.js:1044:19) at require (internal/modules/cjs/helpers.js:77:18) at requireConfig (/Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack/bin/convert-argv.js:97:18) at /Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack/bin/convert-argv.js:104:17 at Array.forEach (<anonymous>) at module.exports (/Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack/bin/convert-argv.js:102:15) at Object.<anonymous> (/Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack-dev-server/bin/webpack-dev-server.js:223:50) at Module._compile (internal/modules/cjs/loader.js:1158:30) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack/bin/convert-argv.js', '/Users/seunghwanlee/Desktop/Project/springboot-vue.js-example/vue_frontend/node_modules/webpack-dev-server/bin/webpack-dev-server.js' ] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vue_frontend@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue_frontend@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: npm ERR! /Users/seunghwanlee/.npm/_logs/2020-04-19T00_05_06_364Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vue_frontend@1.0.0 start: `npm run dev` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue_frontend@1.0.0 start 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! /Users/seunghwanlee/.npm/_logs/2020-04-19T00_05_06_384Z-debug.log Process finished with exit code 1 OS는 맥 환경에서 위와같이 모듈이 없다는 에러가 뜨는데 위와같은 문제를 어떻게 해결할 수 있나요??
안녕하세요 John Ahn 님 유튜브로 영상을 보다가 무비앱 완독하고 유튜브까지 완독을 했습니다. 영상을 보면서 오류가 생길때마다 어찌어찌 해결하면서 끝까지 완독했는데요. 덕분에 React와 더불어 많은 공부를 할 수 있어 정말 감사드립니다. 다름이 아니라 코딩을 하다가 문제가 생겨서 이렇게 질문을 드립니다. 불과 몇시간전만 해도 모든 페이지를 완성해서 영상 업로드 및 댓글, 좋아요 기능 등 모든 페이지가 정상적으로 동작하는 것을 확인했습니다. 그상태로 깃허브에 commit 도 했구요 그런데 초반 upload 강의 중 setTimeout 부분이 적용이 안되서 혼자 구글링하며 이것저것 찾아보고 있는 도중에 갑자기 랜딩페이지가 에러가 뜨네요.. Unhandled Rejection (TypeError): Cannot read property 'image' of undefined (anonymous function) src/components/views/LandingPage/LandingPage.js:71 68 | <Meta avatar = { // 유저 이미지 69 | // < Avatar 70 | // style={{ color: '#f56a00', backgroundColor: '#fde3cf' }}>SJ</Avatar> } > 71 | <Avatar src = {video . writer . image} /> } | ^ 72 | // 영상 타이틀 73 | title = {video . title} /> 74 | { /* writer_name */ } LandingPage src/components/views/LandingPage/LandingPage.js:27 24 | }) 25 | } , []) // 뒤에가 비어있으면 한번만 돈다 26 | > 27 | const renderCards = Videos. map((video , index) => { | ^ 28 | // duration 을 받아올 때 모두 초로 되어있기에 따로 계산 29 | var minutes = Math. floor(video . duration / 60 ) ; 30 | var seconds = Math. floor(video . duration - minutes * 60 ) ; View compiled ▶ 18 stack frames were collapsed. (anonymous function) src/components/views/LandingPage/LandingPage.js:20 17 | . then(response => { 18 | if (response . data . success) { 19 | console . log(response . data . videos) ; > 20 | setVideos(response . data . videos) | ^ 21 | } else { 22 | alert( ' 비디오 가져오기를 실패했습니다 ' ) 23 | } View compiled 이런 식으로요.. antd 에서 가져오는 Avatar 컴포넌트의 이미지 property를 읽을 수 없다는데요. 랜딩페이지는 초반에 완성을 하고 그 뒤에 건드리지도 않았는데.. 거기다 콘솔창에는 파일이 정상적으로 로드 된걸로 찍혀있어요. 그래서 redux app 으로 확인해보니 로그인은 되어 있는 상태고, URL 에 주소를 입력하면 다른 페이지들은 접속이 가능합니다. 구독 페이지나 업로드 페이지, 로그인 등 페이지가 정상적으로 나와요. MongoDB에 데이터도 정상적으로 들어가 있고, 업로드 페이지에서 파일을 올려도 정상적으로 업로드가 되고 서버에도 저장이 됩니다. 그런데 홈으로 돌아가거나 구독 페이지를 통해서 비디오 디테일 페이지로 들어가면 다시 TypeError가 나옵니다. 혹시나해서 John Ahn님 깃허브에서 코드를 그대로 가져다 했는데도 안되서요.. 이렇게 질문을 남깁니다. 추가로 비디오 업로드 페이지에서 setTimeout이 적용이 안되는데 왜 그런지도 알 수 있을까요? GitHub 주소 입니다: https://github.com/ceylon85/youtube_clone
실시간 미리보기 에서 html에 css 효과들이 적용이 전혀 안되요. 처음 brackets 열때도 폴더 안에서 open as 브라켓 인걸로 실행하고 그 뒤에도 왼쪽창에서 css 폴더랑 index. html 파일 만든 뒤에, css 폴더 안에 style.css 파일을 만들었습니다. 그리고 html 에서 <link rel="stylesheet" href="style.css"> 링크도 추가하였는데 css에서 스타일 준 값들이 html 에서 미리보기 하였을 때 전혀 적용되지 않은 채로 나오는데 뭐가 문제일까요ㅜㅜ