npm i 설치 실패 관련 문의
789
작성한 질문수 1
npm i 설치 시 , 추가적으로 설치해야하는 프로그램들이 더 있을까요? python 경로 오류로 삭제 후 다시 설치하니 VS에러가 발생합니다 ㅠ
ahnju@DESKTOP-U5A4ULH MINGW64 ~/Downloads/VUE-ENDGAME/vue-til-server (master)
$ npm i
> bcrypt@3.0.8 install C:\Users\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v83-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@14.15.4 (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (child_process.js:315:5)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "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\\ahnju\\Downloads\\VUE-ENDGAME\\vue-til-server\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\ahnju\\Downloads\\VUE-ENDGAME\\vue-til-server\\node_modules\\bcrypt\\lib\\binding" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
gyp ERR! cwd C:\Users\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt
gyp ERR! node -v v14.15.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack 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\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048: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.19042
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ahnju\\Downloads\\VUE-ENDGAME\\vue-til-server\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt
node-pre-gyp ERR! node -v v14.15.4
node-pre-gyp ERR! node-pre-gyp -v v0.14.0
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\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\ahnju\Downloads\VUE-ENDGAME\vue-til-server\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\nodemon\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bcrypt@3.0.8 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@3.0.8 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\ahnju\AppData\Roaming\npm-cache\_logs\2021-04-18T00_42_06_418Z-debug.log
답변 3
0
말씀하신대로 삭제후 npm i bycript실행하면,
$ npm i bycript
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/bycript - Not found
npm ERR! 404
npm ERR! 404 'bycript@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ahnju\AppData\Roaming\npm-cache\_logs\2021-05-01T23_33_12_506Z-debug.log
가 발생합니다...
=====================================
바로 이전 강의에서 nvm install 12.14.0실행하면,
Can not determine how many core(s) are available, running in single-threaded mode.
Please report an issue on GitHub to help us make nvm run faster on your computer!
Local cache found: ${NVM_DIR}/.cache/src/node-v12.14.0/node-v12.14.0.tar.xz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/src/node-v12.14.0/node-v12.14.0.tar.xz
$>./configure --prefix=/c/Users/ahnju/.nvm/versions/node/v12.14.0 <
which: no python2.7 in (/mingw64/bin:/usr/bin:/c/Users/ahnju/bin:/c/Program Files (x86)/NAT Service:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/c/WINDOWS/System32/OpenSSH:/c/Program Files (x86)/PuTTY:/c/Program Files/nodejs:/cmd:/c/Users/ahnju/AppData/Local/Programs/Python/Python39/Scripts:/c/Users/ahnju/AppData/Local/Programs/Python/Python39:/c/Users/ahnju/AppData/Local/Microsoft/WindowsApps:/c/Users/ahnju/AppData/Roaming/npm:/c/Users/ahnju/AppData/Local/Programs/Microsoft VS Code/bin)
which: no python2 in (/mingw64/bin:/usr/bin:/c/Users/ahnju/bin:/c/Program Files (x86)/NAT Service:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/c/WINDOWS/System32/OpenSSH:/c/Program Files (x86)/PuTTY:/c/Program Files/nodejs:/cmd:/c/Users/ahnju/AppData/Local/Programs/Python/Python39/Scripts:/c/Users/ahnju/AppData/Local/Programs/Python/Python39:/c/Users/ahnju/AppData/Local/Microsoft/WindowsApps:/c/Users/ahnju/AppData/Roaming/npm:/c/Users/ahnju/AppData/Local/Programs/Microsoft VS Code/bin)
Please use Python 2.7
nvm: install v12.14.0 failed!
이게 발생했었는데, 여기서부터 문제인건가요? Python을 삭제하고 다시설치했는데도 위와 같이 문구가 나오네요..
0
안녕하세요 준영님, 현재 프로젝트에 설치된 node_modules 폴더를 다 삭제하고 npm i bycript 명령어 실행하신 다음에 다시 npm i로 노드 패키지들 설치해 보시겠어요? :)
node 10버전 사용
0
63
1
강의에 대해 질문 드립니다.
0
59
1
vue CLI 대신 vite를 사용해도
1
137
2
질문삭제
0
148
2
강사님 코드로 진행할 경우 console.log( config); 도 안찍혔어요. instance 를 생성해서 공통으로 사용하셨는데 loginUser 에만 커스텀한 instance를 넣으니 콘솔에 컨피그 객체가 찍혀요
0
90
1
로그인 에러발생만하면 네트워크 커넥션 에러 발생 해결
0
116
1
rndrmagkqslek.
0
72
1
계속 따라하다가 안돼서 bash에 연결할떄 안되더라구요
0
103
1
axios 에러가 뜹니다.
1
236
2
vue3로 진행하시면서 router에서 '*' 적용이 안되시는 분들
2
309
1
vue 관련 다른 강의 출시예정이없으신지 궁금합니다!
1
153
1
AppHeader.vue에 vue 디폴트 만들에 Delete `␍` 오류나면
1
194
1
vue3로 따라오시다가 import axios 에러 뜨시는 분들
2
444
2
$router 를 이용한 메인 페이지로 이동
1
288
1
혹시 node.js 10.24 버전으로 해도 상관없나요?
2
460
2
에러 경로가 LoginForm.vue 43번째줄 말고 다른 경로로 출력됩니다.
1
296
2
pinia 사용할려고 하는데 에러가 나옵니다.
1
484
2
swagger ui의 post/posts에 글 기록하려고 하면 unauthorized 에러가 납니다..
1
1101
2
safari 개발자 도구에 대한 질문입니다
1
565
2
스웨거에 글 등록시 401 에러가 나와요 ㅠ
1
720
2
이 에러 때문에 진행이 안되네요 ㅠ
1
670
1
windows .nvmrc nvm use 실행 오류
1
1544
2
강사님 최신화가 필요해보입니다.
2
957
2
npm i 에러
1
608
1





