본문 바로가기
[TypeScript] 'tsc'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는배치 파일이 아닙니다 문제 예상1 실행할 tsc 파일이 없기 때문에 에러가 발생하였다. 검증1 (검증실패) tsc 파일이 있는것을 확인 파일 다운로드도 5일전에 한것이 확인 예상2 tsc 파일이 전역적으로 사용되고 있지 못하기 때문에 에러가 발생하였다. 검증2(검증성공) tsc 파일이 존재하는 경로로 이동하여 tsc 명령어를 수행하니 프롬프트에 로그가 출력되는것이 확인됨. tsc 파일 전역으로 설치 실행이 잘 되는것을 확인 2023. 9. 30.
[JAVA] the method is undefined for the type the method is undefined for the type 계속 getter, setter가 없다는 반응만 나왔다. lombok.jar 있는데.. 있어도 안될때가 있다고 한다.. 그래서 수동 설치를 해줘야한다. Reference 에러 관련 참고 블로그 https://gaebal-goebal.tistory.com/54 [Spring lombok] @Data : The method set is undefined @Data의 setter가 동작하지않아서 The method setName() is undefined for the type Teacher라는 에러가 떴다. Dependencies 폴더 아래에 lombok jar파일이 들어있다는 것을 확인했다. 검색해보니 lombok jar는 별.. gaeba.. 2022. 2. 9.
[jQuery][Javascript] Getting attribute of a parent node $(this).parentNode.attr('class') Getting attribute of a parent node $(this).parentNode.attr('class') jquery와 plain javascript를 섞어 섰다는것.. java 사용해서 백엔드단만 작업하다보니 전혀 생각못했던 부분이었다.. jquery를 사용하는곳이 아직 많기 때문에 해당부분을 유의해서 코드작업을 해야할것 같다. // jQuery $(this).parent().attr('class'); // Vanila Javascript this.parentNode.getAttribute("class"); attr() 메서드와 getAttribute()메서드 .attr() 메서드 .attr(attributeName) .attr(attributeName,value) 선택한요소의 속성의 .. 2022. 1. 1.
[GitHub] remote: Support for password authentication was removed on August 13, 2021. Plea.. remote: Support for password authentication was removed on August 13, 2021. Plea.. 오랜만에 git bash를 이용해 원격저장소에 commit 하려고 했다. 평소랑 똑같이 계정 정보 입력해서 원격저장소에 push 했다. 근데 에러.. 토큰이 필요하다고 한다. 2021년 8월이후 적용된 방법이라 모를수도 있을듯 토큰 갱신 방법은 아래 블로그에 잘 정리되어있다. Reference GitHub 토큰 인증 로그인 하기 - [오류 해결]: remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. 2021. 12. 24.