인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

rlatjdus2902's profile image
rlatjdus2902

asked

A real introductory all-in-one development boot camp for non-majors

Installing Sequelize and Sqlite

sqlite3 설치 중 오류

Written on

·

1.3K

0

sqlite 설치중에 아래와 같은 오류가 계속해서 발생하는데
검색해서 해결방법을 찾아봐도 안되네요 ㅠㅠ
 
 
---------------------------------------------------------------------------------
D:\Inflearn\grab-market-server>npm install sqlite3@5.0.0 npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. > sqlite3@5.0.0 install D:\Inflearn\grab-market-server\node_modules\sqlite3 > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.0.0 and node@14.17.5 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error write EPROTO 16668:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332: gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn UNKNOWN gyp ERR! stack at ChildProcess.spawn (internal/child_process.js:403:11) gyp ERR! stack at spawn (child_process.js:667:9) gyp ERR! stack at execFile (child_process.js:319:17) gyp ERR! stack at VisualStudioFinder.findVisualStudio2017OrNewer (C:\Users\6804977\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:140:17) gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\6804977\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:62:10) gyp ERR! stack at findVisualStudio (C:\Users\6804977\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:12:10) gyp ERR! stack at C:\Users\6804977\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:83:9 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:180:23) gyp ERR! System Windows_NT 10.0.17763 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\6804977\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\\Inflearn\\grab-market-server\\node_modules\\sqlite3\\lib\\binding\\napi-v3-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=D:\\Inflearn\\grab-market-server\\node_modules\\sqlite3\\lib\\binding\\napi-v3-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3" "--python=/usr/local/bin/python3" gyp ERR! cwd D:\Inflearn\grab-market-server\node_modules\sqlite3 gyp ERR! node -v v14.17.5 gyp ERR! node-gyp -v v8.2.0 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\6804977\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\Inflearn\grab-market-server\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\Inflearn\grab-market-server\node_modules\sqlite3\lib\binding\napi-v3-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3 --python=/usr/local/bin/python3' (7) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (D:\Inflearn\grab-market-server\node_modules\sqlite3\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:400:28) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1055:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.17763 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\Inflearn\\grab-market-server\\node_modules\\sqlite3\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd D:\Inflearn\grab-market-server\node_modules\sqlite3 node-pre-gyp ERR! node -v v14.17.5 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\6804977\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\Inflearn\grab-market-server\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\Inflearn\grab-market-server\node_modules\sqlite3\lib\binding\napi-v3-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3 --python=/usr/local/bin/python3' (7) npm WARN grab-market-server@1.0.0 No description npm WARN grab-market-server@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sqlite3@5.0.0 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@5.0.0 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\6804977\AppData\Roaming\npm-cache\_logs\2021-09-08T05_05_19_376Z-debug.log

 

- 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
javascripttensorflownodejsHTML/CSSreactexpressreact-native머신러닝 배워볼래요?

Answer 1

0

grab님의 프로필 이미지
grab
Instructor

관리자 권한으로 파워쉘이나 CMD를 실행한후 아래 두 명령어를 실행해보시고 다시 설치해보시겠어요?

npm install --global --production windows-build-tools

npm install -g node-gyp

rlatjdus2902's profile image
rlatjdus2902

asked

Ask a question