npm run dev 시 아래와 같이 vue 파일을 못 찾는 것 같습니다. 원인이 무엇일까요? ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue Module not found: Error: Can't resolve '/components/ToDoList.vue' in 'E:myprojectvue-todosrc' @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue 13:0-48 @ ./src/App.vue @ ./src/main.js @ multi (webpack)-dev-server/client? http://localhost:8080 webpack/hot/dev-server ./src/main.js
안녕하세요, 강의 잘 듣고 있습니다. ^^ except 구간에서, errno.EEXIST 코드를 사용하려면.. errno 라는 라이브러리를 import 해야 사용 가능하지 않나요? 그 부분이 빠진 것 같아서요 실제 예외가 발생하는 경우가 거의 없어서 오류는 안나는데, 따로 실행해보면 오류가 납니다.
설명 하시는 내용 중에 http.createServer((req, res) => { if (req.method === 'GET') { if (req.url === '/') { return fs.readFile('./restFront.html', (err, data) => { ... 다음과 같이 fs.readFile을 리턴하시는 이유가 단순히 더이상 로직이 아래로 진행되기 위해 리턴을 해 주신건가요? 정확히 왜 리턴을 해 주시는지 몰라서 질문 올려 봅니다.
Disqus에 들어가니까 Admin은 없고 Home만 있습니다. 그래서 이것저것 클릭해봤는데요. Your Site 혹은 +New 같은 것을 못찾겠습니다. 127.0.0.1에서 '서버를 찾을 수 없음'이라고 뜹니다. 영상을 보면서 회색 부분을 제외하고 코드를 베껴서 써보니 웹서버를 통해 열지 않아서 코멘트 부분이 unable하다고 뜬 메시지까진 됐습니다. manager-osx를 켜보고도 해놓았습니다만. Running 뜨는데도 안됩니다ㅜ
npm run script build 그걸로 했어요. 그리고 jason에 설정하고 깃에 푸쉬까지 다 해서 정상적으로 올라갔는데 git 주소로 들어가면 readme만 보이고 index.html쪽이 안보이는데 어떻게 해야 하나요?? https://github.com/JinnyJieunKim/vsCodeTest 제 깃 주소에요
안녕하세요 기선님 JPA 강좌 정말 잘 보고있습니다! @ManyToOne 관계 매핑한 엔티티를 EAGER 타입으로 조회를 할때요 어떤 경우에는 조인으로 두 엔티티 정보를 한번에 쿼리하는 반면에, 각각의 엔티티를 따로 쿼리하는 경우가 있어서 EAGER 조회에서도 N+1문제가 발생하더라고요. 어떤 경우엔 조인이 되고 어떤 경우에 각각 쿼리가 발생하는지 알려주실 수 있을까요? ( 지금 껏 테스트로 추측하기로는 id 로 조회할 때는 조인 쿼리가 발생하고, 그외에는 별개 쿼리가발생하는 것 같아요) 코드랑 쿼리 결과도 첨부드릴게요 @Entity public class Post { @Id @GeneratedValue private Long id; private String name; public Post() {} public Post(String name) { this.name = name; } } @Entity public class Comment { @Id @GeneratedValue private Long id; private String title; @ManyToOne private Post post; public Comment() {} public Comment(String title, Post post) { this.title = title; this.post = post; } } @Component public class JpaRunner implements ApplicationRunner { @Autowired PostRepository postRepository; @Autowired CommentRepository commentRepository; @Transactional @Override public void run(ApplicationArguments args) { //아래 데이터가 입력된 상황 // Post post1 = new Post("A"); // Post post2 = new Post("B"); // Post post3 = new Post("C"); // postRepository.saveAll(Arrays.asList(post1, post2, post3)); // postRepository.flush(); // // Comment comment1 = new Comment("a", post1); // Comment comment2 = new Comment("a", post2); // Comment comment3 = new Comment("a", post3); // // commentRepository.saveAll(Arrays.asList(comment1, comment2, comment3)); // commentRepository.flush(); commentRepository.findById(1L); commentRepository.findByTitle("a"); } } 실행된 쿼리 Hibernate: select comment0_.id as id1_0_0_, comment0_.post_id as post_id3_0_0_, comment0_.title as title2_0_0_, post1_.id as id1_1_1_, post1_.name as name2_1_1_ from comment comment0_ left outer join post post1_ on comment0_.post_id=post1_.id where comment0_.id=? 2018-09-18 02:32:41.805 INFO 5078 --- [ main] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory Hibernate: select comment0_.id as id1_0_, comment0_.post_id as post_id3_0_, comment0_.title as title2_0_ from comment comment0_ where comment0_.title=? Hibernate: select post0_.id as id1_1_0_, post0_.name as name2_1_0_ from post post0_ where post0_.id=? Hibernate: select post0_.id as id1_1_0_, post0_.name as name2_1_0_ from post post0_ where post0_.id=? Hibernate: select post0_.id as id1_1_0_, post0_.name as name2_1_0_ from post post0_ where post0_.id=?
콜렉션-딕셔너리 두번째 강의 예제를 따라하는데 dataDic.Add(int.Parse(words[0]), new StatData(int.Parse(words[1]), int.Parse(words[2]))); 이 부분에서 오류가 발생하는데 도저히 어떻게 해결해야 하는지 모르겠습니다. 사용중인 OS는 윈도우10입니다. 밑에는 오류 메시지 전문입니다. FormatException : Input string was not in the correct format System.Int32.Parse(System.String s)(at/Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs:629) 텍스트파일도 그대로 따라했는데 뭐가 문제인 걸까요?
import pandas as pd import numpy as np df = pd.read_excel("./data/excel-comp-data.xlsx") df.head() 로드시 에러가 발생합니다. pip xlrd install 은 했는데 오류가 발생됩니다. 어떤 문제일까요?? ImportError Traceback (most recent call last) ~/anaconda3/envs/my_project/lib/python3.5/site-packages/pandas/io/excel.py in init (self, io, **kwds) 351 try: --> 352 import xlrd 353 except ImportError: ImportError: No module named 'xlrd' During ha
내부클래스 수업때 왼쪽 화면의 객체생성하는 코드를 보면 OuterClass.InnerClass in = oc.new InnerClass(); 라고 되어있는걸 볼 수 있습니다. OuterClass.InnerClass in = new oc.InnerClass(); 가 뭔가 더 직관적인것 같은데 이건 틀린표현입니까? 밑의 static 클래스인 SinnerClass의 생성코드는 OuterClass.SInner si = new OuterClass.SInnerClass();라고 되어있네요 무슨 차이죠?