rollup.config.js 파일에 preprocess: sveltePreprocess() 를 실행하는 위치가 어떻게 되는지요 ? config.js 파일의 구조가 약간 달라졌습니다 . package.json 파일에서 @rollup/plugin-commonjs:^15.1.0 @rollup/plugin-node-resolve: ^9.0.0 추가로 설치된 node-sass: ^7.0.1 svelte-preprocess: ^4.10.7 rollup.config.js 파일에서 import svelte from 'rollup-plugin-svelte'; import commonjs from '@rollup/plugin-commonjs'; import resolve from '@rollup/plugin-node-resolve'; import livereload from 'rollup-plugin-livereload'; import { terser } from 'rollup-plugin-terser'; import css from 'rollup-plugin-css-only'; // 강의에는 없는 행 // svlete-preprocessor import 한다 . import sveltePreprocess from 'svelte-preprocess'; 아래 plugins 블록에서는 강의에서와는 블록의 구조가 달라져 있습니다 . plugins: [ // 여기 블록의 구조가 달라 정확하게 어디에서 sveltePreporcess() 를 실행해야 // 하는지요 . 아래 기술된 위치에 넣으니까 중첩 스타일에서 오류가 발생합니다 . svelte({ compilerOptions: { // enable run-time checks when not in production dev: !production } }), // we'll extract any component CSS out into // a separate file - better for performance css({ output: 'bundle.css' }), sveltePreprocess(), // scss 를 추가하기 위해 여기서 실행 ... ??? // If you have external dependencies installed from // npm, you'll most likely need these plugins. In // some cases you'll need additional configuration - // consult the documentation for details: // https://github.com/rollup/plugins/tree/master/packages/commonjs resolve({ browser: true, dedupe: ['svelte'] }), commonjs(), 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
function setLayout () { // 각 스크롤 섹션의 높이 세팅 for ( let i = 0 ; i < sceneInfo . length ; i ++) { if ( sceneInfo [ i ]. type === 'sticky' ) { sceneInfo [ i ]. scrollHeight = sceneInfo [ i ]. heightNum * window . innerHeight ; } else if ( sceneInfo [ i ]. type === 'normal' ) { sceneInfo [ i ]. scrollHeight = sceneInfo [ i ]. objs . content . offsetHeight + window . innerHeight * 0.5 ; } sceneInfo [ i ]. objs . container . style . height = ` ${ sceneInfo [ i ]. scrollHeight } px` ; } yOffset = window . pageYOffset ; let totalScrollHeight = 0 ; for ( let i = 0 ; i < sceneInfo . length ; i ++) { totalScrollHeight += sceneInfo [ i ]. scrollHeight ; if ( totalScrollHeight >= yOffset ) { currentScene = i ; break ; } } document . body . setAttribute ( 'id' , `show-scene- ${ currentScene } ` ); 여기서 컨텐츠 증가 또는 해당하는 섹션에서만 동작하게 하고싶은데 아무리 수정해봐도 잘 모르겠습니다. 몇가지 씬을 지워버리면 아예 동작을하지 않는 현상도 있구요 * 궁금한사항은 scroll-section-0이 중간쯤 있을때, show-scene-0 을 추가하고 다시 올라갔을때 없애고 싶습니다.
안녕하세요! 다름아니라 쿠버네티스를 통해서 파드를 잘사용하고 있었는데 갑자기 kubectl get pod 시 아래와 같은 내용이 발생했습니다. kubelet 문제일까 싶어서 확인해봤는데 정확히 어떤문제인지 파악이 어려워서요.. 이런 상황일때 혹시 제가 추가적으로 확인해봐야할 내용이 있을까요?? systemctl daemon-reload systemctl restart kubelet 진행해봐도 똑같습니다. --flag 문제일지도 모른다고 생각해서 /var/lib/kubelet/kubeadm-flags.env에서 --network-plugin=cni 를 제거하고 kubelet 재시작을 해보아도 똑같았습니다. journalctl -u kubelet
안녕하세요 먼저 바쁘신데 바보같은 질문글 올려 죄송합니다. 저는 강의(라우터 주소 설계 중반까지 강의를 들었습니다)를 보는 도중 children을 사용하다가 중첩라우터 사용을 시도를 하였는데요, 코드를 잘못쓴 덕분에 이런 웹페이지의 형태로 보이게 되었습니다. 그래서 제로초님께서 올려주신 공지사항의 유튜브와 구글링을 참고하여 layout>Workspace>index.js //중략 <Chats> <Routes> <Route path="/channel/:channel" element={<Channel />} /> <Route path="/dm/:id" element={<DirectMessage />} /> </Routes> </Chats> //중략 기존의 코드를 //중략 <Chats> <Routes> <Route path="/:channel" element={<Channel />} /> <Route path="/:id" element={<DirectMessage />} /> </Routes> </Chats> //중략 이렇게 수정하였습니다 웹페이지를 확인해보니 정상적으로 돌아오긴 하였으나 제가 올바르게 수정했는지 아닌지 몰라 이렇게 질문글 올립니다. 그리고 로그아웃후 로그인을 하면 기존의 워크스페이스가 안뜨지만 새로고침을 누르면 기존의 워크스페이스들이 뜨는 버그?가 발생하게 되었습니다. 콘솔에 에러는 전혀 나지 않는 상황이고 제가 어느부분의 설정을 잘못했는지 파악하려 시도했지만 서버코드까지 살펴보아도 대체 어느부분을 놓치고있는지 감도 오지 않아서 코드부분을 올리지 못하였습니다..ㅠㅠ 저런 현상이 혹시 SWR옵션과 관련있을까요 ..? 😭
똑같이 실행해보니 orderserviceImpl에 어떤 부분에서 잘못됐는지 알고싶습니다. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'orderServiceImpl' defined in file [C:\Users\zzang\Downloads\java\core\out\production\classes\hello\core\order\OrderServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'hello.core.member.MemberRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:93) at hello.core.scan.AutoAppConfigTest.basicScan(AutoAppConfigTest.java:14) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'hello.core.member.MemberRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1790) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1346) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 83 more
안녕하세요. ServiceAccount와 role간에는 RoleBinding을 통해서 하는거는 설명을 잘 해주셔서 이해가 잘 됩니다. 그런데, ServiceAccount에 사용자들을 어떻게 할당하는지 모르겠습니다. ( ServiceAccount에 있는 token을 사용자 pc에서 kubectl접속이 가능하게 세팅을 할때, 입력하는 토큰을 통해서는 하는걸가요?)
강사님 안녕하세요! 항상 강의 잘 보고 있습니다. 궁금한 점이 있습니다. 현재 DB 이관 관련하여 junit을 통해 쿼리 검증문을 작성하고 있는데요, 이때 알려주신 @Transactional 을 통해서 샘플 데이터를 따로 커밋하지 않고 테스트 끝나면 롤백 되게끔 작성하고 있습니다. 여기서 의문이 드는게, 제가 작업하고 있는 이 테스트 코드 작성이 결국엔 이관하는 DB가 적합한지, 작동에 문제가 없는지를 확인하는작업인데(기존의 쿼리가 새로운 db에서) 따로 커밋 없이 트랜잭션 롤백으로만 진행해도 DB테스트에 적합한지 궁금합니다. 이관하려는 DB는 auroraDB 이며 현재 쓰고 있는 DB는 mysql 입니다.
안녕하세요! 코딩웍스선생님! 강의를 정말 친절하게 알려주셔서 항상 감사드리고 있습니다! 제가 공지사항에 대해 질문이 있습니다. 밑 코드에서... <a href="#none">홈커밍데이 진행위원회 결과를 다운로드 받으세요.<b>2020.01.07</b></a> 이렇게 공지사항에 들어갈 내용이 길면 [홈커밍데이 진행위원회 ....] 방식으로 만들면 된다고 알고있습니다. 하지만 제 역량이 부족할 것 같아 혹시 [홈커밍데이 진행위원회 ....] 가 아닌 [진행위원회 결과 다운] 이렇게 내용을 간결하게 줄여도 괜찮을까요? 감점사항에 해당될까요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 좋은 강의 항상 잘 듣고 있습니다. 다름아니라, 아래와 같은 에러가 나타납니다. ImportError: cannot import name 'webdrvier' from 'selenium' (/Users/taehwa/opt/anaconda3/lib/python3.9/site-packages/selenium/__init__.py) 비쥬얼스튜디오코드에서 코드 돌렸으나 가상환경(아나콘다)환경 기반이라 에러가 나는 것 같은데 아나콘다에도 selenium과 webdriver_manager를 설치하였음에도 위와 같은 에러메세지가 나옵니다. 파일명도 10.셀레니움 환경설정. py로 파일명도 selenium.py 로 쓰지 않았음에도 importerror를 해결할 수 없어 문의드립니다.
========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예) [질문 내용] 안녕하세요 김영한님, 좋은강의를 제공 해 주셔서 감사합니다. 빈 생명주기 콜백 시작 강의 12:20분에 setUrl 로 url 을 설정하셨는데 1. 이것도 의존성 주입이라고 생각해도 되는지 여쭤보고싶습니다. 이전 강의에서 의존성을 주입할 때 constructor, setter, field 로 주입을 할 수 있는데 제가 강의를 보며 궁금했던점은 url 이라는 의존성을 networkClient에 주입하는것이 아닐까 입니다. 만약에 의존성 주입이 아니라고 한다면 이것은 객체가 아닌 String type 이어서 그런걸까요? 2. 객체의 생성과 초기화를 분리하는 부분이 이해가 되지 않습니다. 이 예제에서 봤을때 NetworkClient 객체는 url 이 필수정보라 생각이 듭니다. 따라서 객체가 생성될때 url 이 무조건 들어가서 null 이 안뜨는게 맞지 않나? 라고 생각이 들며, 예제로 보여주시기 위해서 그런것인지 궁금합니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 잘 듣고 있습니다. 코드는 다 올바르게 작성하였는데 frontend 이미지가 도커 허브에 안올라가서 질문 드립니다. 상세내용을 인터넷에 쳐보니 아마 npm 버전 문제인거 같습니다.. 이러해서 .travis.yml 파일에 node_js 버전을 16으로 줘봤는데도 똑같은 오류가 떠서 질문드립니다. 해결 방법이 있을까요??
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 모든설정을 완료하고 게임씬에서 오큘러스의 오른쪽, 왼쪽도 보이고 마우스로 움직이는것또한되는데 마우스휠이 안먹히는 경우는 무엇인지 궁금합니다! back forward을 말씀드리는 겁니다!
안녕하세요. 캡틴판교님 vue 초급 강의부터 nuxt 강의까지 덕분에 잘 듣고 있습니다. 제가 최근에 nuxt강의를 듣고 사내 홈페이지 작업을 nuxt로 진행하였습니다. 메인페이지가 작업되어 테스트겸 서버에 배포를 진행하였습니다. 현재 사내 서버는 원격 데스크톱으로 연결된 클라우드 서버 입니다.(윈도우) (IIS 설정으로 도메인과 폴더를 연결중) 업로드하는 과정은 파일을 파일질라로 업로드 후 원격 테스크톱으로 접속하여 폴더 이동을 해야 합니다. target을 static으로 설정하고 nuxt generate로 실행하여 dist폴더의 파일들을 적용하였습니다. publicPath설정으로 빌드할 때 html,css,img,js 누락없이 파일경로도 맞게 설정 되었는데 vue script 부분이 동작을 하지 않고 있습니다 mouted() 등등... 이럴 때는 어떻게 해야 할까요??? 바쁘시겠지만 답변 부탁 드립니다.