tui-editor 또는 ngx-tui-editor 설치 중 오류 발생

tui-editor 또는 ngx-tui-editor 설치 중 오류 발생

토스트 마크다운 편집기를 설치하려고 하는데 다음 오류가 발생합니다.

npm i --save tui-editor
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/sohee-lee7/Squire.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

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

npm ERR!     C:\Users\Ramesh Kumar\AppData\Roaming\npm-cache\_logs\2019-05-25T04_19_47_296Z-debug.log

내 2019-05-25T04_19_47_296Z-debug.log 파일디버그.로그 미리 감사드립니다.

답변1

나는 내 문제를 해결했습니다.

  1. 설치하다힘내
  2. PATH 환경 변수에 C:\Program Files\Git\bin C:\Program Files\Git\cmd에 경로를 추가합니다.
  3. 컴퓨터를 다시 시작하세요

명령을 실행

npm i --save tui-editor
npm i --save ngx-tui-editor

관련 정보