본문 바로가기

ajax 호출시 발생하는 jquery.js: Uncaught TypeError: Cannot read property 'toLowerCase' of undefined 오류에 관한 해결 방법 개발환경 thymeleaf 3.0.11 Spring Boot 2.2.5 IntelliJ Ultimate 2020.1 JDK 8 jQuery 2.1.4 Gradle webpack 발생 회원가입 화면 개발중에 아이디 중복체크를 위해 ajax 사용 시 toLowerCase를 찾을 수 없다는 오류가 발생 form 태그는 사용하지 않음. jquery.js:9463 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined at Object.setRequestHeader (jquery.js:9463) at Object.beforeSend (util.js:11) at Function.ajax (jquery.js:9640) at Module.ajax (ut.. 더보기
Springboot 기반에 git, npm을 사용한 webpack 환경구축 webpack 작업 브랜치 생성(Optional) 기존 작업 중인 저장소에서 바로 작업하여 커밋하는 방법도 있습니다. 하지만 작업을 분리하기 위해서 webpack 작업용 브랜치를 생성하겠습니다. webpack 브랜치에서 작업 후 메인 브랜치에 rebase/merge 할 예정입니다. > cd 프로젝트 루트 폴더 > git checkout -b webpack Switched to a new branch 'webpack' 로컬 환경에 webpack 브랜치가 새로 생성되었고 git branch 명령어를 입력하면 master 브랜치에서 webpack 브랜치로 전환이 된 것을 확인할 수 있습니다. > git branch master * webpack 하지만 로컬에 브랜치를 생성했다고 끝이 아닙니다. git pull.. 더보기
홈브루 brew upgrade 시 권한오류(Error: Permission denied) 해결방법 발생 상황 mac OS X 업데이트 후 홈브루 패키지 업그레이드 명령어를 실행할 때 권한 오류 발생 $ brew upgrade ==> Upgrading 10 outdated packages: .... Pruned 0 symbolic links and 3 directories from /usr/local Error: Permission denied @ apply2files - /usr/local/lib/node_modules/hexo-cli/node_modules/picomatch/lib/.DS_Store 원인 brew 경로인 /usr/local의 경로에 쓰기 권한이 없음. 시도1 - 루트권한으로 업그레이드 시도 그래서 브루 업그레이드를 root 권한으로 시도해봄 $ sudo brew upgrade Pas.. 더보기
mac OS X 업데이트 후 xcrun: error: invalid active developer path 발생시 해결방법 상황 맥 OS 다크모드가 추가 됐다고 Mojave 10.14.16 로 업데이트 한 후 터미널 명령 사용 시 경로에 xcrun이 없다고 하네요. $ git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 해결방법 xcrun은 xcode command Line Tools에 있으므로 설치합니다. xcode를 설치하면 command Line Tools를 포함하지만 용량이 몇기가나 되는 xcode를 설치할 필요는 없습니다. $ xcode-select --install xcode-select: n.. 더보기
VMware Mac OS X에 iOS Device 인식시키 방법 https://www.isunshare.com/mac/vmware-mac-os-x-not-recognize-ios-device.html VMware Mac OS X Doesn’t Recognize iOS Device | How to Fix VMware Mac OS X Doesn't Recognize iOS Device | How to Fix iTunes not recognize iPhone on VMware Mac OS X and get a mistake about driver error? Please try the following solutions to fix the problem. Step 1: Check whether the host could recognize iPhone or i www.isu.. 더보기