묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 영화 사이트 만들기
npm install 하면 에러가 생겨요.
boilerplate-mern-stack-master 폴더에서 npm install 하면 에러가 생겨요. > bcrypt@3.0.8 install C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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 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 gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack 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:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19041 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\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\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.19041 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 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\winuser\AppData\Roaming\npm-cache\_logs\2021-01-27T09_49_38_634Z-debug.log PS C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master> npm install > bcrypt@3.0.8 install C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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 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 gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack 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:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19041 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\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\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.19041 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) PS C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master> npm install > bcrypt@3.0.8 install C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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 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 gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack 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:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19041 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\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\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.19041 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\winuser\\Documents\\websource\\react\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\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\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\winuser\Documents\websource\react\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: 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:
-
해결됨Vue.js 시작하기 - Age of Vue.js
선생님~ 저는 왜 이벤트 발생 화면이 개발자 도구에서 표시가 안될까요!?
숫자는 제대로 증가하는데 vue 개발자 도구에선 이벤트 표시가 안되어여!
-
미해결홍정모의 따라하며 배우는 C++
string에 대해 질문드립니다.
안녕하세요. 강의를 보다 string타입을 사용하시는 것을 보고 아래와 같이 궁금증이 생겨서 한 번 실험해보았는데 왜 이렇게 되는지 잘 모르겠어서 질문드립니다. #include <iostream> #include <string> using namespace std; int main() { string hello = "Hello, my name is Jack Jack"; cout << hello << endl; cout << &hello[0] << endl; cout << &hello[1] << endl; cout << &hello[2] << endl; return 0; } -> Hello, my name is Jack Jack Hello, my name is Jack Jack ello, my name is Jack Jack llo, my name is Jack Jack 이전에 문자 포인터의 특성 강의에서 cout에서는 문자열은 특별히 처리한다고 배웠고 문자열의 주소나 포인터를 출력해도 문자열이 그대로 출력된다고 배웠기 때문에 다음같이 앞에 &를 붙여서 출력했을 때 주소가 아니라 문자열이 그대로 출력될 것이라고 어느정도는 예상을 했습니다만 해당 index의 문자를 포함한 앞쪽의 문자들을 제외한 나머지 문자열이 출력되는 건지, 그리고 첫번째 element인 &hello[0]가 아닌 &hello[1]를 출력했을 때 H 이외의 문자열이 출력되는 것인지 궁금합니다. 감사합니다.
-
미해결Vue로 Nodebird SNS 만들기
axios 포스트 질문입니다.
프론트 signup 에서 this.$axios.post(/user)하셧는데 현재 백앤드 서버는 3085로 서버가 열려있는데 왜 아무것도 안하고 user만 날리신건지 궁금합니다.
-
미해결피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
질문이 있어요!
웹 와이어프레임 만들기 1 영상 보면서 만들고 있어요! 생각보다 피그마가 프로그램이 좋아서 와이어프레임 수준으로 만드는 것은 아직까지 쉽네요. 다만 왼쪽 레이어 정리는 어떻게 하실까요? 혼자 작업 연습하느라 기능에 초점을 맞춰서 설명하시느라 레이어는 냅두신것 같은데 아무래도 작업한 것을 다른 디자이너에게 공유하거나 할때, 보기 좋게 정리를 하면 좋을 것 같아서요. 실무에서는 레이어 정리를 보통 어떻게 하는지 궁금해요! 그리고 레이어가 아래를 기준으로 위로 정리하는 건지 위를 기준으로 아래로 정리하는 건지 이것도 궁금하고요. 감사합니다.
-
미해결스프링 시큐리티
스프링 시큐리티 사용자 로그인 후 접속 로그(아이디, 시간) DB저장 관련문의드립니다.
안녕하세요 스프링 시큐리티에서 로그인 후 실행될 기능을 AuthenticationSuccessHandler 인터페이스를 구현한 클래스에 onAuthenticationSuccess 메소드를 오버라이드하였는데 이 메소드 안에서 사용자 아이디와, 시간을 저장하는 기능을 JPA를 사용하여 구현했습니다. 그런데 DB에 데이터가 저장이 안됩니다. 테스트로 UserDetailsService를 구현한 클래서에서 테스트 해봤는데 조회는 가능한데 저장은 실행이 안됩니다. 혹시 이부분에 대하여 도움을 받을 수 있을까요?
-
Vue.js 시작하기 - Age of Vue.js
!탭을 누르면 안나오는 메세지가 있습니다
삭제된 글입니다
-
미해결실전 프로젝트로 배우는 타입스크립트
Uncaught ReferenceError: exports is not defined 문제로 마지막 소스를 빌드 못하고 있어요.
안녕하세요 완강 후에 빌드를 하고 브라우저에서 실행을 하니 아래와 같이 스크립트 오류로 결과 물을 확인 을 할 수 없습니다. 확인을 해보니 빌드 된 app.js 파일에 해당 부분이 문제인 것 같습니다. 혹시 내용 확인 하시면 답변 부탁 드리겠습니다. 감사합니다.
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
casual 과 registered 를 drop하는거에 관해 질문이 있습니다.
안녕하세요! 올려주신 노트북을 따라하던 와중에 causual과 registered가 쓸모있을 수도 있는 정보라 생각해 삭제하지 않았습니다. 이 경우 교재에 나와 있듯이 rmsle, rmse등 모든 오류값들이 극히 작게 나오면서 예측을 저해시킵니다. 왜 그런거죠? 그렇다면 예약 이용자와 비예약 이용자 정보는 예측에 불필요한 쓸모없는 값인가요? 감사합니다.
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
MappedSuperClass 각 멤버변수를 optional하게 할수 있는지?
안녕하세요 영한님. 공통의 속성의 구성이 각각인 경우 각각의 MappedSuperClass를 만들어 사용해야 하는지요? 예) - 관리자용 테이블 : 관리자아이디, 관리자명, 등록일시 - 사용자용 테이블 : 등록일시
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
회원가입 테스트 시에 오류가 발생합니다
왜 오류가 발생하는지 알 수 있을까요??ㅠ 항상 감사합니다!
-
미해결모던 자바스크립트(ES6+) 기본
강의 pdf 파일 공개 부탁드립니다
ES5 기본 강의에는 강의 자료가 pdf로 제공되어서 강의 전에 예습하기 좋았습니다. 혹시 ES6 기본 강의에는 강의자료 pdf가 제공되지 않나요?? 꼭 부탁드립니다. 강의 pdf를 읽고 듣는 것과 그렇지 않은 것의 차이가 커서 다시 한번 부탁드립니다.. ㅜㅠ
-
미해결홍정모의 따라하며 배우는 C언어
연습문제를 동적할당으로 해보는중에 질문 있습니다
https://onlinegdb.com/sf-pXlgRl 임시배열에 문자열을 저장한 후 길이를 받아 그만큼 메모리를 할당받아 문자열을 복사했습니다. 프로그램 종료 전에 free로 메모리를 해제하니 heap corruption detected 라는 에러가 발생했습니다. 구글링을 해 보니 할당한 공간보다 더 큰 영역에 접근하면 생기는 오류라는데 어디가 문제인지 잘 모르겠습니다 VS에서는 에러가 뜨는데 온라인 컴파일러에서는 에러가 없네요
-
미해결스프링 시큐리티
안녕하세요 선생님 여기까지 해봣는데 오류가 있습니다
1. 로그인 실패시 /login?error 가 먹히지 않습니다.. 비밀번호 잘못 입력하면 로그인 실패하면 오류 메세지가 떠야 하는데 가지 않습니다.. 콘솔에도 뜨지 않는 오류라 어떻게 해야 되는지 모르겠습니다.. 제 생각에는 FormAccessDeniedHandler 가 먹히지 않는거 같은데 고대로 선생님 코드 다운받아서 진행해보면 아래와 같습니다..
-
미해결코알못에서 웹서비스 런칭까지 : 2021 제주 코딩 베이스캠프(Django)
!ls 가 안되는경우
윈도우 사용자이고 jupyter 에서 !ls (alt+엔터) 를 눌렀는데 아래와 같은 문구가 뜹니다. 'ls'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
멤버 필드를 해당 객체에서 사용할때,,
안녕하세요 별거아닌 질문인데요 엔티티 개발할때 보니, 자신의 멤버 필드에 접근할때 그냥 필드명을 사용하는게 아니라 getter 메서드로 접근하고 계시더라구요, 필드로 접근하든 getter로 접근하든 상관은 없을것 같은데 혹시 특별한 이유가 있나 싶어서 문의드립니다! 감사합니다.
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
'int' object is not callable
#sum부분에서 자꾸 오류가 나네요. #답변해주시면 감사하겠습니다. N, m = map(int, input().split()) n=list(map(int, input().split())) cnt=0 for i in range(0, N): for j in range(i+1, N): t=n[i:j] if sum(t)==m: cnt+=1 print(cnt)
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
댓글을 크롤링해보는데 잘 안되서 문의드려봅니다.
import requests from bs4 import BeautifulSoup res=requests.get('https://comic.naver.com/index.nhn') soup=BeautifulSoup(res.content, 'html.parser') data=soup.select('#realTimeRankFavorite > li > a') for index,item in enumerate (data): print(index+1, "인기웹툰:", item.get_text()) 이렇게 코드를 짜서 인기웹툰 순위 크롤링은 되었는데요. import requests from bs4 import BeautifulSoup res=requests.get('https://comic.naver.com/webtoon/detail.nhn?titleId=743031&no=34&weekday=mon') soup=BeautifulSoup(res.content, 'html.parser') data=soup.select('ul #u_cbox_list') for item in data: print(item.get_text()) #구현시에 아무것도 안뜨는데 혹시 어떤 부분을 수정해야 하는걸까요? 웹툰에 달리는 댓글들을 크롤링해보고 싶은데 검색에 들어가서 copy해서 찾아 넣었는데 실행을 하면 에러코드도 아니고 아예 아무것도 안떠서요. 어디가 잘못된건지.. 혹은 댓글 크롤링은 아예 다른 접근이 필요한건지 문의드려봅니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
no suitable method found for addAllAttributes 관련질문
안녕하세요 강사님 수업내용과 똑같이 코드를 작성하였는데, 오류가 발생하고 웹페이지가 열리지 않아서 질문 올립니다. 감사합니다..!!
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
first.py 실행이 안됩니다...
(사진)