inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 노드, 리액트 시리즈 - 챗봇 사이트 만들기

챗봇 어플리케이션 만들기#5 Front End 부분 시작

npm run dev 프론트엔드 에러

860

Dongha Taylor Kim

작성한 질문수 7

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

답변 2

2

김흰둥이

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

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

문제가 해결되었습니다

0

John Ahn

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

localhost:3000 ERR_CONNECTION_REFUSED

0

917

1

이벤트 쿼리문제입니다

0

122

1

npm install 이 안됩니다

0

1045

2

질문있어요

0

186

1

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

0

274

1

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

0

262

1

최신버전 부분

0

163

1

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

0

151

1

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

0

162

1

한국어 챗봇 만들기

0

312

1

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

0

216

1

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

0

300

1

dialogflow 줄바꿈

0

409

1

npm start 에러

0

529

1

npm run start 오류

0

794

2

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

0

447

1

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

0

539

1

npm install오류

0

627

1

invalid_grant: Invalid JWT Signature.

0

468

0

질문있어요!

0

304

0

에러

0

314

0

https://dialogflow.com/

0

339

1

Error: 7 PERMISSION_DENIED: IAM permission 오류

0

531

1

npm run start 시 cannot find module 에러

1

489

1