suyeoniii
수바리의 코딩일기
suyeoniii
전체 방문자
오늘
어제
  • 분류 전체보기
    • 🪓 삽질일기
    • 🔙 Backend
      • 🟢 Node.js
      • 🐈‍⬛ NestJS
      • 🌿 Springboot
      • 🗄️ Database
    • 🌸 Frontend
      • 🌐 React.js
      • 💚 Vue.js
      • 🤖 Android
    • 🕹️ 알고리즘
      • 💯 코딩테스트
    • 🔠 프로그래밍 언어
      • 💛 Javascript
      • 💙 Typescript
    • 🚀 배포
    • 🐱 Git
    • etc.
      • 개발환경
      • 오픈 API
      • 개념정리
      • 커뮤니티
    • AI
      • 생성형 AI
    • 회고

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • springboot
  • 백준
  • MySQL
  • node.js
  • java
  • C++
  • AWS
  • 알고리즘
  • javascript
  • Git
  • ubuntu
  • Spring Boot
  • node
  • 회고
  • nodejs
  • html
  • MAC
  • vue
  • ec2
  • android

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
suyeoniii

수바리의 코딩일기

[Node.js][Typescript] node_modules/@types/express-serve-static-core/index.d.ts:745:13 - error TS1005: ';' expected.
🪓 삽질일기

[Node.js][Typescript] node_modules/@types/express-serve-static-core/index.d.ts:745:13 - error TS1005: ';' expected.

2022. 12. 9. 22:36
반응형

오랜만에 예전에 했던 Node.js + Express + Typescript 프로젝트를 실행했더니 여러 오류가 났다...!! 😵

node_modules/@types/express-serve-static-core/index.d.ts:745:13 - error TS1005: ';' expected.
...

node_modules 안에서 오류가 난거라 패키지문제인데, 구글링을 통해 이 이슈를 찾았다.

 

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/62300

 

@types/express-serve-static-core/index.d.ts Typescript build error (version 4.17.31) · Issue #62300 · DefinitelyTyped/Definite

Discussed in #62299 Originally posted by Anvba September 16, 2022 Typescript (4.4.4) build fails to build the project with the latest types package [@types/express-serve-static-core]: node_modules/...

github.com

 

🔧 해결방법


npm install typescript@4.1.6
npm install -D @types/express-serve-static-core@4.17.3

 

package를 특정 버전으로 설치하여 해결할 수 있다.

반응형
저작자표시 (새창열림)

'🪓 삽질일기' 카테고리의 다른 글

[SpringBoot][Kotlin] org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing 에러  (0) 2022.12.11
[Spring Boot] No tests found for given includes: 에러  (0) 2022.08.20
[Spring Boot] Error creating bean with name 'entityManagerFactory' defined in class path resource  (0) 2022.08.19
[EC2][Ubuntu] E212: Can't open file for writing  (0) 2022.05.12
[AWS EC2] WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!  (0) 2022.04.18
    '🪓 삽질일기' 카테고리의 다른 글
    • [SpringBoot][Kotlin] org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing 에러
    • [Spring Boot] No tests found for given includes: 에러
    • [Spring Boot] Error creating bean with name 'entityManagerFactory' defined in class path resource
    • [EC2][Ubuntu] E212: Can't open file for writing
    suyeoniii
    suyeoniii
    개발관련 문제 해결, 공부한 내용 등을 업로드합니다.

    티스토리툴바