[ERROR][MessageApp] gyp ERR! find Python
2020. 11. 29. 21:59ㆍ개발 관련/ERROR
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
ERROR 내용
- 파이썬을 찾지 못한다
해결 방법
- 파이썬을 설치하지 않아서 그런가? 싶어서 파이썬을 설치하였다. -> 해결 x
// windows일 경우
// node_modules 폴더 삭제 후
$ npm install
$ npm i sqlite3
// 맥일 경우
$ npm i node-pre-gyp
$ npm i sqlite3
// 이후 다시 실행
$ npm install
$ npm test
참고 사이트 :