안녕하세요 강사님, vue cli 2 버전을 사용하다가 이 강의에서는 4버전으로 해보고 있습니다. 최신버전을 설치할 때 npm install -g @vue/cli 로 하는데, -g 가 들어가면 전역설치로 알고 있습니다. 궁금한 점이, 공식문서에서도 -g 로 전역설치를 하던데, vue cli는 전역으로 설치해서 사용하는 것이 일반적인가요? 그리고 다른 디렉토리의 프로젝트에서는 vue cli 2버전을(다른버전) 사용하고 싶을 때는 각 프로젝트마다 지역설치를 해서 사용하나요? 제가 기존에 연습하던 다른 디렉토리의 cli 버전(2)까지 전역으로 4버전이 되어버려서 이런 경우에는 보통 어떻게 하시는지 궁금합니다. 전역설치했던 최신을 삭제하고 다시 지역설치를 각각 해야할까요? 감사합니다.
정답을 보니 아래와 같이 작성하면 된다고 하는데 docker run --rm \ -v $(pwd)/hello.php:/app/hello.php \ php:7 \ php /app/hello.php docker-compose.yml 파일로 작성을 하려면 어떻게 해야 하는지 궁금합니다.
이 부분에서 compare의 첫 번째 인자와 두 번째 인자가 같을 시에 callback함수에 2번째 인자에 true 값을 전달 할 수 있는건 알겠는데, ' 어디에서 plainpassword를 암호화하는 것이기에' DB의 pw와 비교할 수 있는건지 모르겠어요 ㅠㅠ bcrypt . compare ( plainPassword , this . password , ( err , isMatch ) =>
안녕하세요. 선생님. 좋은 강의 만들어주셔서 감사합니다^^ 추천해주신 조영호님의 책들을 보면서 객체지향을 추가적으로 공부하면서 강의를 듣고 있습니다. 강의에서 AppConfig 를 이용해 의존성을 해결하는 방식을 일종의 SERVICE LOCATOR 패턴이라고 봐도 되나요?? 아니라면 예를 들어 MemberServiceImpl 의 생성자를 이런식으로 작성하는 경우가 SERVICE LOCATOR 패턴이 될까요? public MemberServiceImpl(){ this.memberRepository = AppConfig.memberRepository(); } 결국 클라이언트 입장에서는 전부 비슷하다고 느껴지는데 헷갈려서 질문드립니다.
안녕하세요 강사님. 저는 vue cli 4 버전으로 하고 있습니다. 기존 강의 대로 slot 부분을 따라하면 npm run serve 했을 때 사진과 같은 에러가 납니다. 위의 에러를 검색해서 찾다가 TodoInput 컴포넌트의 <h3 slot="header">경고</h3> 을 <template v-solt:header>경고</template> 로 바꾸니까 해결이 되었습니다. 제 생각에는 4버전의 eslint-loader가 기존 강의 버전과 다른 규칙이 있어서 그런 것 같은데 제 생각이 맞는지 여쭤보고 싶어서 질문을 드립니다. 그리고 혹시나 제가 한 것 말고 다른 해결 방법이 있다면 알려주시면 감사하겠습니다.
안녕하세요. 수업 너무 알차게 잘 듣고 있습니다. 그러나 수업을 듣는 도중 문제가 생겨 질문을 드립니다. pip 외부 라이브러리 설치 중에 일어난 에러입니다. pip install numpy pandas matplotlib을 입력하였는데 Using cached numpy-1.19.2.zip (7.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... - 에서 넘어가지 않고 에러가 뜹니다 다음은 에러 전문입니다. 어떻게 해결해야 할까요? ERROR: Command errored out with exit status 1: command: 'c:\users\user\desktop\python\python.exe' 'c:\users\user\desktop\python\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\user\AppData\Local\Temp\tmpf7frhdsl' cwd: C:\Users\user\AppData\Local\Temp\pip-install-9wizp8d8\numpy Complete output (200 lines): Running from numpy source directory. setup.py:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates run_build = parse_setuppy_commands() Processing numpy/random\_bounded_integers.pxd.in Processing numpy/random\bit_generator.pyx Processing numpy/random\mtrand.pyx Processing numpy/random\_bounded_integers.pyx.in Processing numpy/random\_common.pyx Processing numpy/random\_generator.pyx Processing numpy/random\_mt19937.pyx Processing numpy/random\_pcg64.pyx Processing numpy/random\_philox.pyx Processing numpy/random\_sfc64.pyx Cythonizing sources blas_opt_info: blas_mkl_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries mkl_rt not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE blis_info: libraries blis not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE openblas_info: libraries openblas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']' customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize CompaqVisualFCompiler Could not locate executable DF customize IntelItaniumVisualFCompiler Could not locate executable efl customize Gnu95FCompiler Could not locate executable gfortran Could not locate executable f95 customize G95FCompiler Could not locate executable g95 customize IntelEM64VisualFCompiler customize IntelEM64TFCompiler Could not locate executable efort Could not locate executable efc customize PGroupFlangCompiler Could not locate executable flang don't know how to compile Fortran code on platform 'nt' NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=ATLAS libraries tatlas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE atlas_3_10_blas_info: libraries satlas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE atlas_blas_info: libraries f77blas,cblas,atlas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE accelerate_info: NOT AVAILABLE C:\Users\user\AppData\Local\Temp\pip-install-9wizp8d8\numpy\numpy\distutils\system_info.py:1914: UserWarning: Optimized (vendor) Blas libraries are not found. Falls back to netlib Blas library which has worse performance. A better performance should be easily gained by switching Blas library. if self._calc_info(blas): blas_info: libraries blas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE C:\Users\user\AppData\Local\Temp\pip-install-9wizp8d8\numpy\numpy\distutils\system_info.py:1914: UserWarning: Blas (http://www.netlib.org/blas/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable. if self._calc_info(blas): blas_src_info: NOT AVAILABLE C:\Users\user\AppData\Local\Temp\pip-install-9wizp8d8\numpy\numpy\distutils\system_info.py:1914: UserWarning: Blas (http://www.netlib.org/blas/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [blas_src]) or by setting the BLAS_SRC environment variable. if self._calc_info(blas): NOT AVAILABLE non-existing path in 'numpy\\distutils': 'site.cfg' lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE openblas_lapack_info: libraries openblas not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE openblas_clapack_info: libraries openblas,lapack not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE flame_info: libraries flame not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS libraries lapack_atlas not found in c:\users\user\desktop\python\lib libraries tatlas,tatlas not found in c:\users\user\desktop\python\lib libraries lapack_atlas not found in C:\ libraries tatlas,tatlas not found in C:\ libraries lapack_atlas not found in c:\users\user\desktop\python\libs libraries tatlas,tatlas not found in c:\users\user\desktop\python\libs <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: libraries lapack_atlas not found in c:\users\user\desktop\python\lib libraries satlas,satlas not found in c:\users\user\desktop\python\lib libraries lapack_atlas not found in C:\ libraries satlas,satlas not found in C:\ libraries lapack_atlas not found in c:\users\user\desktop\python\libs libraries satlas,satlas not found in c:\users\user\desktop\python\libs <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries lapack_atlas not found in c:\users\user\desktop\python\lib libraries ptf77blas,ptcblas,atlas not found in c:\users\user\desktop\python\lib libraries lapack_atlas not found in C:\ libraries ptf77blas,ptcblas,atlas not found in C:\ libraries lapack_atlas not found in c:\users\user\desktop\python\libs libraries ptf77blas,ptcblas,atlas not found in c:\users\user\desktop\python\libs <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: libraries lapack_atlas not found in c:\users\user\desktop\python\lib libraries f77blas,cblas,atlas not found in c:\users\user\desktop\python\lib libraries lapack_atlas not found in C:\ libraries f77blas,cblas,atlas not found in C:\ libraries lapack_atlas not found in c:\users\user\desktop\python\libs libraries f77blas,cblas,atlas not found in c:\users\user\desktop\python\libs <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE lapack_info: libraries lapack not found in ['c:\\users\\user\\desktop\\python\\lib', 'C:\\', 'c:\\users\\user\\desktop\\python\\libs'] NOT AVAILABLE C:\Users\user\AppData\Local\Temp\pip-install-9wizp8d8\numpy\numpy\distutils\system_info.py:1748: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. return getattr(self, '_calc_info_{}'.format(name))() lapack_src_info: NOT AVAILABLE C:\Users\user\AppData\Local\Temp\pip-install-9wizp8d8\numpy\numpy\distutils\system_info.py:1748: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. return getattr(self, '_calc_info_{}'.format(name))() NOT AVAILABLE numpy_linalg_lapack_lite: FOUND: language = c define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')] c:\users\user\desktop\python\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running dist_info running build_src build_src building py_modules sources creating build creating build\src.win-amd64-3.9 creating build\src.win-amd64-3.9\numpy creating build\src.win-amd64-3.9\numpy\distutils building library "npymath" sources error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\user\desktop\python\python.exe' 'c:\users\user\desktop\python\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\user\AppData\Local\Temp\tmpf7frhdsl' Check the logs for full command output.
안녕하세요. case5로 설치하고 있는데 docker run hello-world 여기 단계에서 오류 발생하여 안되네요. docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). 와이파이아닌 이더넷 환경이고 ping 8.8.8.8가 안되는걸로 봐서는 제 생각엔 30.0.2.0(natnetwork) - 192.168.0.20 으로 인터넷 연결된다고 설명되어있는데. 제 호스트 상황이 그게 아니여서 안되는걸까요?? 그렇다면 처리 방법이 있나요? dns랑 나머지는 설정다하였습니다.
18분 15초대 강사의 말 : "name, age 직접 접근 가능함" 지금 말하는 것은 인스턴스 변수인데 ----------------------------- 분명 몇분 전에는 "클래스변수 : 직접 접근 가능 인스턴스 변수 : 객체마다 별도로 존재" 라고 설명을 했었거든요 그래서 아까 말한것은 클래스 변수가 직접접근 가능 하다고 하셨는데 지금은 또 다르게 설명을 하셔서 어떤걸 설명 했는지 모르겠어용
쌤 유튜브 헤로쿠 배포하기 보고 질문드립니다. 스크립트를 작성후 npm run heroku-postbuild 해줬는데 'NPM_CONFIG_PRODUCTION'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. 라는 에러가 나옵니다. "scripts" : { "start" : "node server/server.js" , "backend" : "nodemon server/server.js" , "frontend" : "npm run start --prefix client" , "dev" : "concurrently \" npm run backend \" \" npm run start --prefix client \" " , "heroku-postbuild" : "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client" }, 위에는 제 전체 스크립트이구.. https://github.com/jungsikjeong/React_Gongcha 제 깃허브 코드입니다. 개발 환경이 윈도우인데.. 저 코드는 혹시 윈도우 명령어가 아니고 리눅스 명령어일까요?
노드몬 라이브러리 다운받고, package.json - script에 "dev": "nodemon server.js" 준 후. dockerfile에 COMMAND: ["npm", "run", "dev"] 하고 컨테이너 만들어봤는데 소스 변경시 컨테이너 재시작해주지 않으면 변경사항이 적용이 안 되더라구요. 컨테이너 노드몬 적용되는 방법을 알 수 있을가요?