강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của liki57195
liki57195

câu hỏi đã được viết

Tạo blog riêng của bạn bằng React (MERN Stack)

(32) Cài đặt gói web CKEditor5(1)

eject 과정 에러

Viết

·

566

1

git 수행후 eject를 수행하니 다음과 같은 에러가 나옵니다.

git 를 처음 사용해봐서 그런지요.  지난번 수행 후 처음 해서 

.... 

> client@0.1.0 eject D:\blog\client

> react-scripts eject

NOTE: Create React App 2+ supports TypeScript, Sass, CSS Modules and more without ejecting: https://reactjs.org/blog/2018/10/01/create-react-app-v2.html

? Are you sure you want to eject? This action is permanent. Yes

Ejecting...

`config` already exists in your app folder. We cannot continue as you would lose all the changes in that file or directory. Please move or delete it (maybe make a copy for backup) 

and run this command again.

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! client@0.1.0 eject: `react-scripts eject`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the client@0.1.0 eject script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-09-03T07_00_59_600Z-debug.log

PS D:\blog\client> 

reduxreactnodejsbootstrapmongodbexpress

Câu trả lời 2

0

skywalk님의 프로필 이미지
skywalk
Người đặt câu hỏi

고맙습니다. 생각보다 설치 과정이 복잡하네요. 경고 메시지도 많이 나오고요. 현재도 노드 모듈 에러가 나오고 있는데요. 좀더 진행 후에 점검을 하려 합니다. 수고하세요.

0

ssaple님의 프로필 이미지
ssaple
Người chia sẻ kiến thức

Ejecting...

`config` already exists in your app folder. We cannot continue as you would lose all the changes in that file or directory. Please move or delete it (maybe make a copy for backup) 

=> 여기보면 이미존재하는 config폴더를 삭제해보라고 나옵니다. (아마도 eject를 2번하셔서 첫번째 eject되다 남은 부분이 있어서 그런것 같습니다)

Hình ảnh hồ sơ của liki57195
liki57195

câu hỏi đã được viết

Đặt câu hỏi