inflearn logo
강의

Khóa học

Chia sẻ kiến thức

Chuỗi bài học về Node và React để học theo - Tạo trang chatbot

Xây dựng ứng dụng Chatbot #5 Bắt đầu Phần Front End

npm run dev 프론트엔드 에러

880

Dongha Taylor Kim

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

0

cilent 에 npm install 을 할 때 에러가 나고(root는 정상적 install) 

npm run dev 으로 실행하니까 프론트엔드에서 저런 에러가 나오네요. 

fsevents, grpc, node-pre-gyp 다 실행해봤는데 고쳐지지 않아요.. 도와주세요!

/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:28

[1]   return (new fsevents(path)).on('fsevent', callback).start();

[1]           ^

[1] 

[1] TypeError: fsevents is not a constructor

[1]     at createFSEventsInstance (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:28:11)

[1]     at setFSEventsListener (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:82:16)

[1]     at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:252:16)

[1]     at FSWatcher.<anonymous> (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:386:25)

[1]     at LOOP (fs.js:1786:14)

[1]     at processTicksAndRejections (internal/process/task_queues.js:75:11)

[1] npm ERR! code ELIFECYCLE

[1] npm ERR! errno 1

[1] npm ERR! client@0.1.0 start: `react-scripts start`

[1] npm ERR! Exit status 1

[1] npm ERR! 

[1] npm ERR! Failed at the client@0.1.0 start script.

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

[1] 

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

[1] npm ERR!     /Users/donghakim/.npm/_logs/2020-07-08T06_49_46_985Z-debug.log

[1] npm run start --prefix client exited with code 1

react nodejs

Câu trả lời 2

2

kjwkjw51533653

stackoverflow에서 찾아봤는데 버전때문에 에러가 생기는 경우가 있다고 합니다

저도 같은 에러가 나서 package-rock.json하고 node_modules를 삭제하고 npm 재설치하니

문제가 해결되었습니다

0

John Ahn

가끔씩 npm 의 고질적인 에러가 있을떄가 있는것 같아요 ....
그래서 저도 이럴때면  소스 코드를 다시 받아서 해보면 될떄가 있는데 
혹시  소스 코드를 다시 받아서  해봐주실수 있나요 ~~ ???

localhost:3000 ERR_CONNECTION_REFUSED

0

977

1

이벤트 쿼리문제입니다

0

154

1

npm install 이 안됩니다

0

1074

2

질문있어요

0

222

1

수정해보았는데 답장이 오지 않습니다.

0

304

1

postman 에 답이 오지 않습니다.(수정)

0

285

1

최신버전 부분

0

183

1

웹브라우저 실행이 안됩니다 .인스톨도 안되구요. 최신버전으로 해서 진행하고 자 하는데 어떻게 하면 될가요?

0

177

1

포스트맨에서 send를 하였을 때 오류가 납니다.

0

185

1

한국어 챗봇 만들기

0

333

1

Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant: Invalid JWT Signature. 에러 발생

0

241

1

npm start 하고 throw e 이부분에서 에러가 뜨네요

0

323

1

dialogflow 줄바꿈

0

425

1

npm start 에러

0

548

1

npm run start 오류

0

813

2

Dialogflow ES에서 서비스 어카운트에 dialogflow client api설정 하는 법 질문

0

468

1

파이어베이스랑 연동은 어떻게 하나요?

0

564

1

npm install오류

0

646

1

invalid_grant: Invalid JWT Signature.

0

483

0

질문있어요!

0

323

0

에러

0

325

0

https://dialogflow.com/

0

355

1

Error: 7 PERMISSION_DENIED: IAM permission 오류

0

546

1

npm run start 시 cannot find module 에러

1

507

1