• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 Next.js 게시판 상페이지로 이동하는 Link 부분에서 에러가 납니다

상페이지로 이동하는 Link 부분에서 에러가 납니다

5 글 보임 - 1 에서 5 까지 (총 5 중에서)
  • 글쓴이
  • #76801

    박민국
    참가자
    디테일 코드 입니다
    list 코드 입니다
    
    list 페이지에서 저렇게 Link에 주석을 하면 리스트 목록이 보이는데
     주석을 해제하면 아래 사진 처럼
    에러가 나오면서 리스트 목록이 아예 안보이네요
    
    
    
    터미널에서는 
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    error - SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
    
    이런 에러가 계속 나옵니다 
    
    구글링을 해서 해결 해볼려고 했는데 해봐도 잘 모르겠어서 질문 남깁니다
    
    
    #76827

    codingapple
    키 마스터
    package.json에서 next 13.2.4 버전으로 잘 설치했나 확인합시다
    #76837

    박민국
    참가자
    13.3.0 으로 했는데 혹시 이것도 문제가 될 까여?
    #76843

    박민국
    참가자
    
    
    13.2.4 로 다시 재설치 했는데 같은 에러가 발생하네요
    #76855

    codingapple
    키 마스터
    13.3에서 use client 버그있습니다
    npm uninstall next 하고 npm install next@13.2.4 하고 서버도 다시 띄웁시다
5 글 보임 - 1 에서 5 까지 (총 5 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠