Roll The Dice
close
프로필 배경
프로필 로고

Roll The Dice

  • 분류 전체보기 (110)
    • error (16)
    • Web (31)
      • TIL (16)
      • JAVA (1)
      • JS (13)
      • Python (1)
    • 알고리즘 (30)
    • 운영체제 (10)
    • 네트워크 (9)
    • ML DL (4)
      • TensorFlow 기초 (2)
      • Object Detection (2)
    • 면접 (2)
    • 회고 (1)
  • 홈
  • 태그
  • 방명록

CypressError: Timed out retrying after 4050ms: `cy.click()` failed because this element:

Cypress 오류 해결하기1. cy.click() 실패CypressError: Timed out retrying after 4050ms: `cy.click()` failed because this element:``has CSS `pointer-events: none`원인cypress 에서 click 테스트를 작성하였으나 대상 요소가 CSS 스타일 pointer-events: none을 가지고 있어 클릭 이벤트가 발생하지 않을 때 발생한다.해결1. force: true 옵션 사용:cy.get('img[alt="카카오로그인"]').click({ force: true });force: true 옵션은 Cypress가 요소의 상호작용 가능 여부와 상관없이 클릭하도록 강제한다. 클릭 가능한 상위 요소를 찾기:..

  • format_list_bulleted error
  • · 2025. 1. 12.
  • textsms

[NestJS] .env 경로 설정

https://www.mongodb.com/ko-kr/docs/manual/tutorial/install-mongodb-community-with-docker/ Docker를 사용하여 MongoDB Community 설치 - MongoDB 매뉴얼 v7.0공식 MongoDB 커뮤니티 이미지를 사용하여 MongoDB 커뮤니티 에디션을 Docker container로 실행할 수 있습니다. MongoDB 배포서버를 실행하기 위한 Docker 이미지는 다음과 같은 경우에 유용합니다.신속한 배www.mongodb.com 몽고디비와 도커 연결을 위해 명령어를 입력해준다. docker pull mongodb/mongodb-community-server:latestdocker run --name mongodb -p 27..

  • format_list_bulleted error
  • · 2024. 9. 29.
  • textsms

[JPA] @Query 어노테이션 사용시 주의점 정리

아래와 같이 메서드를 작성했으나 실행되지 않았다 @Query("SELECT p FROM Post p WHERE p.postType = :postType AND p.id = :id") void findPostByPostTypeAndId(PostType postType, long id);주의해야할 것 1. jpa 는 table 이름이 아니라 entity 이름이 들어가야한다 2. findBy 는 로 반환해야한다 @Query("SELECT p FROM Post p WHERE p.postType = :postType AND p.id = :id") Optional findPostbyPostTypeAndId(@Param("postType") PostType postType, @Param("id") Long id)이렇..

  • format_list_bulleted error
  • · 2024. 8. 4.
  • textsms
[SQL] Incorrect string value, Data too long for column

[SQL] Incorrect string value, Data too long for column

게시판 create 함수를 작성하던 와중 250자 정도 까지는 작성이 가능하지만, 이상의 글자수에 대해서는 오류를 반환하는 것을 볼 수 있었다. 로컬환경에서는 제대로 실행되었으며 prod 환경에서 실행했을 때만 오류가 발생하였다. java.sql.SQLSyntaxErrorException: (conn=158694) Data too long for column 'content' at row 1  post 의 domain의 어노테이션 안에 TEXT를 넣어 해결하였다. 그런데 이를 배포한 뒤에도 클라이언트 측에서는 여전히 오류가 난다고 하여 잘못된 요청을 하고있는 게 아닐까? 라고 생각했다. @Column(nullable = false, columnDefinition = "TEXT") private Strin..

  • format_list_bulleted error
  • · 2024. 7. 30.
  • textsms
[Redis] Unable to connect to Redis : 로컬에 Redis init 시 config 파일 가져오기

[Redis] Unable to connect to Redis : 로컬에 Redis init 시 config 파일 가져오기

Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6379 Unable to connect to Redis  처음 초기화를 위해 install 한다brew install redis redis-server /usr/local/etc/redis.conf 위 명령어로 실행했을 때 실패하였고, redis 설정 파일문제라는 것을 알게 되었다. 올바른 설정 파일을 가져오기 위해 brew --prefix redis로 redis 파일의 경로를 알아내었다. (/opt/homebrew/opt/redis가 출력)이후 이 설정 파일을 사용하여 Redis 서버를 시작한다.  red..

  • format_list_bulleted error
  • · 2024. 7. 28.
  • textsms
Unsupported Java. Your build is currently configured to use Java 22.0.1 and Gradle 8.7.

Unsupported Java. Your build is currently configured to use Java 22.0.1 and Gradle 8.7.

IntelliJ IDEA에서 Java와 Gradle 버전 호환성 문제얼마 전 Homebrew를 이용하여 JAVA를 재설치한 뒤 intellij 에서 build가 제대로 되지 않았다. Java 22버전은 호환되고 있는 Gradle 이 없을 수 있기 때문에, Gradle 을 업데이트 하기보다 Java를 21버전으로 downgrade하는 것이 권장되고 있다. 변경된 자바 버전을 프로젝트에 적용하기 위해서는 크게 두 가지 단계가 있었다.  1. 프로젝트 구조(Project Structure) 설정:IntelliJ IDEA의 상단 메뉴에서 File > Project Structure 를 선택한다.왼쪽 패널에서 Platform Settings의 SDKs상단의 + 버튼을 클릭하고 JDK를 선택2.Gradle 설정 변..

  • format_list_bulleted error
  • · 2024. 7. 9.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (110)
    • error (16)
    • Web (31)
      • TIL (16)
      • JAVA (1)
      • JS (13)
      • Python (1)
    • 알고리즘 (30)
    • 운영체제 (10)
    • 네트워크 (9)
    • ML DL (4)
      • TensorFlow 기초 (2)
      • Object Detection (2)
    • 면접 (2)
    • 회고 (1)
최근 글
인기 글
최근 댓글
태그
  • #TS #typescript #generic
  • #pm2 #vm
  • #node.js #express
  • #이벤트브로커
  • #java22
  • #캐시메모리
  • #CPU
  • #메세지브로커
  • #Ram
  • #cpu게이트
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바