인프런 커뮤니티 질문&답변

이소현님의 프로필 이미지
이소현

작성한 질문수

트렐로 개발로 배우는 Vuejs, Vuex, Vue-Router 프론트엔드 실전 기술

백엔드 API 살펴보기

로컬서버 오류 발생이요ㅜㅜㅜ

작성

·

208

0

아래분은 11일인데 아직 해결이 안된건가요ㅜㅜㅜ

node-pre-gyp WARN Using request for node-pre-gyp https download

node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.2/node-v72-win32-x64.tar.gz

node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.0.2 and node@12.14.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)

node-pre-gyp WARN Pre-built binaries not installable for sqlite3@4.0.2 and node@12.14.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)

node-pre-gyp WARN Hit error Connection closed while downloading tarball file

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

gyp ERR! find Python - "python2" is not in PATH or produced an error

gyp ERR! find Python checking if "python3" can be used

gyp ERR! find Python - "python3" is not in PATH or produced an error

gyp ERR! find Python checking if the py launcher can be used to find Python 2

gyp ERR! find Python - "py.exe" is not in PATH or produced an error

gyp ERR! find Python checking if Python is C:\Python27\python.exe

gyp ERR! find Python - "C:\Python27\python.exe" could not be run

gypgyp ERR! find Python  checking if Python is C:\Python37\python.exe

ERR!gyp  find PythonERR!

 gypfind Python  - "C:\Python37\python.exe" could not be run

ERR!gyp  find PythonERR! Python is not set from command line or npm configuration

 gypfind Python

ERR!gyp  find Python Python is not set from environment variable PYTHON

ERR!gyp  find PythonERR! **********************************************************

 gypfind Python  checking if "python" can be used

gypERR!  ERR!find Python  You need to install the latest version of Python.

find Pythongyp - "python" is not in PATH or produced an error

 gypERR!  ERR!find Python find Python Node-gyp should be able to find and use Python. If not,

 checking if "python2" can be used

gypgyp  ERR!ERR!  find Pythonfind Python you can try one of the following options:

 - "python2" is not in PATH or produced an error

gypgyp ERR!  ERR!find Python  - Use the switch --python="C:\Path\To\python.exe"

find Pythongyp checking if "python3" can be used

 gypERR!  ERR!find Python    (accepted by both node-gyp and npm)

find Pythongyp - "python3" is not in PATH or produced an error

 gyp ERR!ERR!  find Pythonfind Python - Set the environment variable PYTHON

 checking if the py launcher can be used to find Python 2

gypgyp  ERR!ERR!  find Pythonfind Python - Set the npm configuration variable python:

 - "py.exe" is not in PATH or produced an error

gypgyp  ERR!ERR!  find Pythonfind Python   npm config set python "C:\Path\To\python.exe"

 checking if Python is C:\Python27\python.exe

gyp gypERR!  ERR!find Python  For more information consult the documentation at:

find Pythongyp - "C:\Python27\python.exe" could not be run

 gypERR!  ERR!find Python  https://github.com/nodejs/node-gyp#installation

find Pythongyp checking if Python is C:\Python37\python.exe

 gypERR! ERR!  find Pythonfind Python **********************************************************

 - "C:\Python37\python.exe" could not be run

gypgyp  ERR!ERR!  find Python

find Python

gyp gyp ERR!ERR!  find Pythonconfigure error **********************************************************

gyp ERR!gyp  find PythonERR! You need to install the latest version of Python.

 gypstack  Error: Could not find any Python installation to use

ERR!gyp  find PythonERR! Node-gyp should be able to find and use Python. If not,

 gypstack      at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)

ERR!gyp  find PythonERR!  you can try one of the following options:

stackgyp     at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)

 gypERR!  ERR! find Pythonstack - Use the switch --python="C:\Path\To\python.exe"

gyp     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)

 gypERR!  ERR!find Python    (accepted by both node-gyp and npm)

stackgyp     at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)

 gyp ERR! ERR!find Python  - Set the environment variable PYTHON

stackgyp     at exithandler (child_process.js:302:5)

 gypERR!  ERR!find Python  - Set the npm configuration variable python:

stackgyp     at ChildProcess.errorhandler (child_process.js:314:5)

 gypERR!  ERR!find Python    npm config set python "C:\Path\To\python.exe"

stackgyp     at ChildProcess.emit (events.js:210:5)

 gypERR!  ERR!find Python  For more information consult the documentation at:

stackgyp     at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)

 gypERR!  ERR!find Python  https://github.com/nodejs/node-gyp#installation

stackgyp     at onErrorNT (internal/child_process.js:456:16)

 gypERR!  ERR!find Python  **********************************************************

stackgyp      at processTicksAndRejections (internal/process/task_queues.js:80:21)

ERR! find Python

gyp ERR! System Windows_NT 10.0.18362

gypgyp  ERR!ERR!  commandconfigure error "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\user\\lecture-vue-trello-server\\node_modules\\sqlite3\\lib\\binding\\node-v72-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\user\\lecture-vue-trello-server\\node_modules\\sqlite3\\lib\\binding\\node-v72-win32-x64" "--napi_version=5" "--node_abi_napi=napi"

gyp ERR!gyp  cwdERR! C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3

 gypstack  Error: Could not find any Python installation to use

ERR!gyp  node -vERR! v12.14.0

 gypstack      at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)

ERR!gyp node-gyp -v ERR! v5.0.5

 stackgyp     at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)

 gypERR! ERR!  not okstack

     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)

gyp ERR! stack     at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)

gyp ERR! stack     at exithandler (child_process.js:302:5)

gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:314:5)

gyp ERR! stack     at ChildProcess.emit (events.js:210:5)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)

gyp ERR! stack     at onErrorNT (internal/child_process.js:456:16)

node-pre-gypgyp  ERR! ERR!build error stack

     at processTicksAndRejections (internal/process/task_queues.js:80:21)

node-pre-gyp gyp ERR!ERR!  stackSystem Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3\lib\binding\node-v72-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3\lib\binding\node-v72-win32-x64 --napi_version=5 --node_abi_napi=napi' (1)

node-pre-gyp Windows_NT 10.0.18362

 gypERR!  ERR!stack      at ChildProcess.<anonymous> (C:\Users\user\lecture-vue-trello-server\node_modules\node-pre-gyp\lib\util\compile.js:83:29)

commandnode-pre-gyp  "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\user\\lecture-vue-trello-server\\node_modules\\sqlite3\\lib\\binding\\node-v72-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\user\\lecture-vue-trello-server\\node_modules\\sqlite3\\lib\\binding\\node-v72-win32-x64" "--napi_version=5" "--node_abi_napi=napi"

ERR!gyp  ERR!stack      at ChildProcess.emit (events.js:210:5)

cwdnode-pre-gyp C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3

 gypERR!  ERR!stack     at maybeClose (internal/child_process.js:1021:16)

 node-pre-gyp node -vERR! v12.14.0

 gyp stackERR!     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

 node-gyp -vnode-pre-gyp v5.0.5

 gypERR!  System Windows_NT 10.0.18362

ERR!node-pre-gyp  not okERR!

 command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\lecture-vue-trello-server\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"

node-pre-gyp ERR! cwd C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3

node-pre-gyp ERR! node -v v12.14.0

node-pre-gyp ERR! node-pre-gyp -v v0.10.3

node-pre-gyp ERR! not ok

Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3\lib\binding\node-v72-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user\lecture-vue-trello-server\node_modules\sqlite3\lib\binding\node-v72-win32-x64 --napi_version=5 --node_abi_napi=napi' (1)

npm WARN lecture-vue-trello-server@1.0.0 No description

npm WARN lecture-vue-trello-server@1.0.0 No repository field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! sqlite3@4.0.2 install: `node-pre-gyp install --fallback-to-build`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the sqlite3@4.0.2 install 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\user\AppData\Roaming\npm-cache\_logs\2020-01-28T07_36_52_640Z-debug.log

답변 2

0

김정환님의 프로필 이미지
김정환
지식공유자

아고 다행이네요 

0

이소현님의 프로필 이미지
이소현
질문자

sqlite3 다운받아 해결되었습니다.

이소현님의 프로필 이미지
이소현

작성한 질문수

질문하기