Yaerhee
예리네
Yaerhee

블로그 메뉴

  • 홈
  • 태그
  • 방명록

태그

  • currently no loaders are configured to process this file.
  • Port 5000 was already in use
  • .p12
  • Love Is The Message
  • EADDRINUSE
  • Next.js Dynamic Routing
  • next.config.js
  • UNABLE_TO_VERIFY_LEAF_SIGNATURE
  • Yussef Dayes
  • disclosure
  • 크레인 인형뽑기 기계
  • Next.js URL masking
  • next.js
  • rewrites()
  • webpack devServer
  • Webpack modules
  • Module parse failed: Unexpected character '' (1:2) You may need an appropriate loader to handle this file type
  • Next.js 기초
  • JavaScript
  • Error occurred while proxying

최근 글

hELLO · Designed By 정상우.
Yaerhee
We no longer support global installation of Create React App. ..
Frontend/Node.js

We no longer support global installation of Create React App. ..

2022. 6. 7. 23:51

문제 내용: npm 구버전으로 인한 create-react-app 즉시 활용이 어려움

해결 방법: npm install -g create-react-app 입력 후 세팅


이전 버전의 npm 사용으로 인해, create-react-app 구버전이 연동되어서

글로벌 설치를 지원하지 않는다는 문구가 출력되었다.

 

기본 create react app 세팅하는 링크가 있어서 진입

https://create-react-app.dev/docs/getting-started/

 

Getting Started | Create React App

Create React App is an officially supported way to create single-page React

create-react-app.dev

 

이전 npm 버전에 대한 안내사항은 또 따로 있음

링크를 한 번만 더 타고 들어가면 방법이 안내 되어있다.

(아래 출처 링크 첨부)

 

npm 5.2 이전 버전에서는

npm install -g create-react-app

으로 create-react-app 글로벌 실행 후

create-react-app [생성할 디렉토리명]

커맨드로 세팅 가능하다.

 


출처

https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f

 

Creating a new project with npm <= 5.2

Creating a new project with npm <= 5.2. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

 

    Yaerhee
    Yaerhee

    티스토리툴바