10강 질문있습니다!
218
작성한 질문수 3
안녕하세요 강의 잘 듣고 있습니다.
10강 npm install bcrypt --save 설치 시 오류가 발생합니다.
해결 방법 가르쳐 주시면 감사겠습니다.
> node-addon-api@3.0.0 install C:\Users\admin\Documents\boilerplate\node_modules\node-addon-api
> node-gyp rebuild
C:\Users\admin\Documents\boilerplate\node_modules\node-addon-api>if not defined npm_config_node_gyp (node "C:\Users\admin\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/path/to/executable/python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\admin\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:482:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\admin\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Users\admin\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:167:21)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\admin\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\admin\Documents\boilerplate\node_modules\node-addon-api
gyp ERR! node -v v12.17.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN boilerplate@1.0.0 No description
npm WARN boilerplate@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-addon-api@3.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-addon-api@3.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\admin\AppData\Roaming\npm-cache\_logs\2020-06-14T15_10_34_551Z-debug.log
답변 2
0
bcrypt가 다운받아지지 않는다면 bcryptjs를 다운받으셔서 하셔도 됩니다 ^^
npm install bcryptjs 로 하신후
const bcrypt = require("bcryptjs");
이런식으로 해주시고 다른부분은 똑같이 해주시면 됩니다 ^^
깃 이메일이랑 비번이 필요하다고 하네요
0
34
1
404 에러
0
101
1
34강 인증 체크에서 element 사용 때문에 에러나시는 분들 이렇게 하심 됩니다.
0
118
1
로그인, 로그아웃, 토근 작동 안 함
0
238
0
9강 오류 어떻게 해결하나요?
0
193
1
localhost 에서 연결을 거부했습니다.
0
1926
4
포스트맨에서 true가 안떠요
0
150
1
왜 안되나요
0
128
1
몽고db 연결 오류가 납니다 위에껀 입력한 코드, 아래껀 터미널이에요
0
243
1
로그아웃 401 에러(Unauthorized)
0
504
2
암호가 해싱되지 않고 입력값 그대로 db에 저장되는 문제
0
148
1
7강중에서
0
162
2
User.findByToken is not a function
0
210
1
루트 디렉토리
0
269
1
useState
0
560
1
프록시 잘 설정했는데도 404 오류 뜨는 분들
5
874
6
webpack 관련 에러 질문
0
218
1
리액트 관련 질문
0
271
1
14강 로그아웃 안됨
0
318
1
mongoDB 데이터 확인하는 법
0
408
1
postman 에러
0
291
1
선생님 리덕스를 사용하면 어떠한 부분이 좋은지 알 수 있을까요?
0
233
1
다음과 같은 에러들이 발생합니다.
0
272
1
14강 로그아웃 기능 구현시 postman에서 Cannot POST 오류가 뜹니다.
0
379
1





