반응형 전체 글71 SkyChat 토이프로젝트 Start 2023. 6. 22. Error: up to date, audited 158 packages in 1s run `npm fund` for details1 high severity vulnerability35 packages are looking for funding run `npm fund` for details npm audit fixRun `npm audit` for details. npm install 시 발생한 오류 npm install Error: up to date, audited 158 packages in 1s run `npm fund` for details 1 high severity vulnerability 35 packages are looking for funding run `npm fund` for details npm audit fix Run `npm audit` for details. 노드 모듈에 보안 취약점이 발생한 것 같습니다. NPM(Node Package Manager) 의 내장 도구인 npm audit 명령어로 프로젝트에서 보안 취약점을 검사하고 알려진 취약점과 가능한 수정 사항에 대한 평가 보고서를 제공 받습니다. npm audit # npm aud.. 2023. 6. 22. Error: Git cannot overwrite multiple values with a single value Error: Git cannot overwrite multiple values with a single value git config 설정에 같은 설정이 두 개가 있어서 발생하는 오류이다. 저는 아래와 가타은 명령어를 실행하고 싶었지만 Git cannot overwrite multiple values with a single value 라는 오류가 발생 하였습니다. git config --global core.autocrlf ture 이러한 경우 --replace-all 이라는 명령어를 사용해 config 안에 같은 설정을 바꿔줄 수 있습니다. 그렇다면 제가 쓸 명령어는 이런 명령어가 되겠죠 git config --global --replace-all core.autocrlf ture 2023. 6. 15. [Error]you are asking Spring Security to ignore Mvc Error message : You are asking Spring Security to ignore Mvc [pattern='/v3/api-docs/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. web.ignoring()Spring Security가 해당 엔드포인트에서 보안 헤더 또는 기타 보호 조치를 제공할 수 없음을 의미한다. 대신 using을 사용하면 permitAllSpring Security가 헤더를 작성하고 인증 없이 요청을 보호할 수 있다. 2023. 5. 31. [Error] Socket fail to connect to host:address=(host=localhost)(port=4306)(type=primary). Connection [Error] Socket fail to connect to host:address=(host=localhost)(port=4306)(type=primary). Connection refused: no further information 애플리케이션이 포트 4306의 localhost에서 MySQL 서버에 연결을 시도하지만 연결을 설정할 수 없으며 실패 이유가 제공되지 않음을 나타낸다. 이 오류의 가장 일반적인 원인에는 잘못 구성된 MySQL 서버 또는 연결을 차단하는 방화벽이 포함 될 수 있다.. 서버를 사용할 수 없거나 과부하 상태일 수도 있다. 이유는 다양하지만 나는 DB 서버를 열어 놓지 않아서 발생한 오류 였다. 지금, docker로 DB 서버를 올리고 있어서 docker에서 DB를 올려주었.. 2023. 5. 31. [Error] Address already in use: bind [Error] Address already in use: bind 이 오류 메시지는 일반적으로 프로그램이 특정 네트워크 주소 및 포트에 바인딩하려고 하지만 다른 프로그램이 이미 해당 주소 및 포트 조합을 사용하고 있을 때 발생. 기본적으로 주소는 이미 사용 중이며 이를 사용하는 현재 프로그램이 해당 주소를 해제할 때까지 다시 바인딩할 수 없다. 따라서, 해당 포트 번호로 사용되고 있는 프로그램을 찾아보자. 터미널에 입력 (내가 사용하려고 하는 포트번호는 9093) netstat -an | grep 9093 결과 : 역시나 사용되고 있었다 TCP 0.0.0.0:9093 0.0.0.0:0 LISTENING TCP [::]:9093 [::]:0 LISTENING 내가 원하는 프로그램을 9093에 연.. 2023. 5. 31. [Error] Using deprecated '-debug' fallback for parameter name resolution "Using deprecated '-debug' fallback for parameter name resolution"라는 경고 메시지는 매개변수 이름 해결에 오래된 '-debug' 대안을 사용하고 있다는 것을 나타낸다. 이 경고를 해결하기 위해서는 해당 코드를 다른 방식으로 컴파일해야한다. 권장 되는 해결책은 컴파일 과정에서 디버그 정보를 활성화하는 것이다. 옵션을 추가해보자. yml파일에 옵션추가 logging: level: root: info org: springframework: core: LocalVariableTableParameterNameDiscoverer: error 2023. 5. 31. [Error]spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed "spring.jpa.open-in-view는 기본적으로 활성화되어 있다. 따라서 뷰 렌더링 중에 데이터베이스 쿼리가 수행될 수 있다. 이 경고를 비활성화하려면 spring.jpa.open-in-view를 명시적으로 구성하십시오"라는 메시지는 OpenEntityManagerInView 기능이 뷰 렌더링 중에 데이터베이스 쿼리를 실행할 수 있도록 하는 Spring Boot에서 기본적으로 활성화된다. 그러나 이 동작이 의도하지 않은 결과를 초래할 수 있음을 경고하고 "spring.jpa.open-in-view" 속성을 명시적으로 구성하여 경고를 비활성화할 것을 제안힌다. application.yml 설정 jpa: open-in-view: false 2023. 5. 31. 협업 시 충돌 상황 1. remote 저장소 최신화 전 작업한 브런치를 먼저 merge하고 push하려고 하는 경우 local 상황작업 브런치(conflict-test)에서 플로우 작업 브런치에서 commit 후 main(혹은 dev) 브런치로 이동 main(혹은 dev)브런치에 작업 브런치(conflict) merge main(혹은 dev)브런치에서 push $ git push To https://github.com/hopee0411/git-practice.git ! [rejected] main -> main (fetch first) error: failed to push some refs to 'https://github.com/hopee0411/git-practice.git' hint: Updates were reje.. 2023. 5. 25. 이전 1 ··· 3 4 5 6 7 8 다음 반응형