npm run build를 했더니 밑과 같은 에러가 뜹니다.. 어떻게 해야하나요 ㅜ [webpack-cli] Failed to load 'C:\Users\JW\slack_front\alecture\webpack.config.ts' config [webpack-cli] TypeError: checker.emitFiles is not a function at compile (C:\Users\JW\slack_front\alecture\node_modules\typescript-register\index.js:132:26) at Object.req (C:\Users\JW\slack_front\alecture\node_modules\typescript-register\index.js:29:9) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Module.require (node:internal/modules/cjs/loader:1028:19) at require (node:internal/modules/cjs/helpers:102:18) at WebpackCLI.tryRequireThenImport (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:204:22) at loadConfigByPath (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:1404:38) at WebpackCLI.loadConfig (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:1510:44) at WebpackCLI.createCompiler (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:1785:33)
강의 중간에 따옴표 사용할 때 줄바꿈 하는 법과 \를 문자열로 취급하는 법을 따라해보는데 저는 '안녕하세요?\n줄바꿈했어요'; 라고 입력을 하면 결과값도 '안녕하세요?\n줄바꿈했어요' 라고 나옵니다. 제로초님의 영상에서는 '안녕하세요? 줄바꿈했어요' 라고 출력이 되는데,,, 말입니다...? *참고로 백틱을 이용하여 문자열을 쓸 때 `안녕하세요 줄바꿈하고있습니다`; 라고 입력을 하면 결과값에 '안녕하세요\n줄바꿈하고있습니다' 라고 출력됩니다.... 결과값에서 \n이 엔터가 되어 나오게 하는 법을 아시는지... 그리고 \를 문자열 중간에 사용할때 'how\re you?';라고 치면 'howe you?'라고 나오기 때문에 'how\\re you?';라고 쳐야 'how\re you?'라고 나온다고 하셨는데 저는 'how\re you?'; 라고 쳐도 결과값이 그대로 'how\re you?';로 나옵니다... 이게 왜 이렇게 되는지..? 구글로 이모저모 검색을 해봤는데 뭐라고 검색해야 딱 집어 나올지 검색해보니 2프로 부족해서 그만..질문합니다
파일업로드 프로필 부분에서 선생님것을 보고하였는데 약간의 오류가 있어서 말씀드립니다. 파일 업로드할시 같은 이름 다른 사진으로 처리하였을 경우 upload폴더에는 다른이름으로 저장 되는 것을 확인 할수 있었으나 db테이블에서는 같은 이름으로 처리가 되어서 서로 매칭이 되고 있지않습니다. upload파일에서는 test와 test1 두개의 이름으로 저장이 되어있고 db테이블에서는 test.jpg두개의 이름으로 저장이 되어있습니다. 그래서 사진 프로필은 upload파일에서 test.jpg만 가지고 오고있습니다. db는 어떻게 처리해야 되는걸까요...
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요! :) 데이터 분석가를 목표로 준비 중인 학생입니다! 1) 강의 출처를 기재한다면, 기초 > 중급 > 고급 강의 개인 복습 내용을 깃허브에 코드로 정리해도 될지요? 최대한 변형하며 스스로 작성해보겠으나, 전체적인 코드 흐름이 강의 내용을 따라갈 예정이라 사전에 문의 드립니다. 2) 'SQL 데이터 분석 캠프 | VOD 기초 또는 실전반' 참여도 고려 중인데 캠프 학습 내용도 상기 질문 내용과 같은 조건으로 업로드 가능한지요? 너무 기대되는 강의입니다, 열공해보겠습니다!
안녕하세요 구파고님! SocialLoginApiServiceFactory 클래스에 socialLoginApiServices에서 key와 value값이 언제 주입되는지 궁금합니다! 생성자 주입을 통해서 key값으로는 bean의 이름, value에는 각 소셜로그인 api 서비스 구현체가 들어간다고 하셨는데 어떤 시점에 주입되는지 모르겠어서 질문드립니다!
오류가 떠요.. import를 잘못해서 그런걸까요? java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext( DefaultCacheAwareContextLoaderDelegate.java:132 ) at org.springframework.test.context.support .DefaultTestContext.getApplicationContext( DefaultTestContext.java:123 ) at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary( ServletTestExecutionListener.java:190 ) at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance( ServletTestExecutionListener.java:132 ) at org.springframework.test.context.TestContextManager.prepareTestInstance( TestContextManager.java:244 ) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest( SpringJUnit4ClassRunner.java:227 ) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall( SpringJUnit4ClassRunner.java:289 ) at org.junit.internal.runners.model.ReflectiveCallable.run ( ReflectiveCallable.java:12 ) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock( SpringJUnit4ClassRunner.java:291 ) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild( SpringJUnit4ClassRunner.java:246 ) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild( SpringJUnit4ClassRunner.java:97 ) at org.junit.runners.ParentRunner$4.run( ParentRunner.java:331 ) at org.junit.runners.ParentRunner$1.schedule( ParentRunner.java:79 ) at org.junit.runners.ParentRunner.runChildren( ParentRunner.java:329 ) at org.junit.runners.ParentRunner.access$100( ParentRunner.java:66 ) at org.junit.runners.ParentRunner$2.evaluate( ParentRunner.java:293 ) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate( RunBeforeTestClassCallbacks.java:61 ) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate( RunAfterTestClassCallbacks.java:70 ) at org.junit.runners.ParentRunner$3.evaluate( ParentRunner.java:306 ) at org.junit.runners.ParentRunner.run ( ParentRunner.java:413 ) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run ( SpringJUnit4ClassRunner.java:190 ) at org.junit.runner.JUnitCore.run ( JUnitCore.java:137 ) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs( JUnit4IdeaTestRunner.java:69 ) 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.BeanDefinitionStoreException: Failed to parse configuration class [jpabook.jpashop.JpashopApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'memberRepository' for bean class [jpabook.jpashop.repository.MemberRepository] conflicts with existing, non-compatible bean definition of same name and class [jpabook.jpashop.MemberRepository] at org.springframework.context.annotation.ConfigurationClassParser.parse( ConfigurationClassParser.java:189 ) at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions( ConfigurationClassPostProcessor.java:336 ) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry( ConfigurationClassPostProcessor.java:252 ) at org.springframework.context.support .PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors( PostProcessorRegistrationDelegate.java:285 ) at org.springframework.context.support .PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors( PostProcessorRegistrationDelegate.java:99 ) at org.springframework.context.support .AbstractApplicationContext.invokeBeanFactoryPostProcessors( AbstractApplicationContext.java:751 ) at org.springframework.context.support .AbstractApplicationContext.refresh( AbstractApplicationContext.java:569 ) at org.springframework.boot.SpringApplication.refresh( SpringApplication.java:767 ) at org.springframework.boot.SpringApplication.refresh( SpringApplication.java:759 ) at org.springframework.boot.SpringApplication.refreshContext( SpringApplication.java:426 ) at org.springframework.boot.SpringApplication.run ( SpringApplication.java:326 ) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext( SpringBootContextLoader.java:122 ) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal( DefaultCacheAwareContextLoaderDelegate.java:99 ) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext( DefaultCacheAwareContextLoaderDelegate.java:124 ) ... 27 more Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'memberRepository' for bean class [jpabook.jpashop.repository.MemberRepository] conflicts with existing, non-compatible bean definition of same name and class [jpabook.jpashop.MemberRepository] at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate( ClassPathBeanDefinitionScanner.java:349 ) at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan( ClassPathBeanDefinitionScanner.java:287 ) at org.springframework.context.annotation.ComponentScanAnnotationParser.parse( ComponentScanAnnotationParser.java:132 ) at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass( ConfigurationClassParser.java:296 ) at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass( ConfigurationClassParser.java:250 ) at org.springframework.context.annotation.ConfigurationClassParser.parse( ConfigurationClassParser.java:207 ) at org.springframework.context.annotation.ConfigurationClassParser.parse( ConfigurationClassParser.java:175 ) ... 40 more
Description: Parameter 0 of constructor in com.example.demo.service.CustomUserDetailsService required a bean of type 'com.example.demo.repository.UserRepository' that could not be found. Action: Consider defining a bean of type 'com.example.demo.repository.UserRepository' in your configuration. 구글링을 해봐도 전혀 해결되지 않아요 ㅠㅠ
curryR을 활용해 등록한 map 함수나 _filter함수 동작에 const mapR = _curryR(_map); console.log( mapR(v => v.name )(arr) ) ); 은 작동하는데 반해 console.log( mapR(v => v.name , arr) ); 은 작동하지 않습니다...저는 조금 이해가 안가는게 arguments.length ===2 로 파라미터가 2개 들어올때 의 경우의 수 까지 처리 한것으로 알고 있는데 왜 밑에 부분은 작동하지 않는지...맞게 동작하는 것인지 궁금합니다.... 만약 제가 놓치고 있는 부분이 있다면 알려주시면 감사드리겠습니다!
정말 루키스님 강의보고 취업했다고 하는말이 과언이 아닐정도로 많이 배웠고 또 배우고 싶습니다. 개인적으로 루키스님 강의의 장점은 아주 중요하지만 아무도 안다루는 게임개발의 코어파트(서버, 그래픽스)를 다뤄주신다는 점과 그 복잡하고 어려운 내용을 명쾌하게 설명해주시는 강의력이라 생각합니다 c++ 서버강의 part4 이후 엔진 활용 강의로 맥이 바뀐거 같은데 혹시 part 5 이후의 강의는 무기한 잠정 중단인가요? ㅠㅠ
안녕하세용 저 또 질문하러 왔어요..ㅋㅋㅋ 코테에 무지해서 앞으로도 계속 자주 올 것 같아요 선샌님,, 1. 코테 알고리즘 공부하면서 자료구조도 함께 병행해서 공부 해야 할까요 ? 저번주에 단일 연결리스트 이론 공부해보고 자바스크립트로 만들어봤었는데 코딩테스트에 JS로 문제 풀 때 연결 리스트 만들고 풀어야된다거나.. 그런 문제를 내는 경우도 있나 싶어서 자료구조 공부하면서 직접 하나하나 다 만들줄 알아야 하나...? 😨 하는 궁금증을 해소하고 싶어요 ㅋㅋㅋ 그냥 이론 정도만 그렇군요. 하고 넘어가도 되는건지ㅎ.. 2. 기업 코테에서 대부분 내장 메서드 활용만 잘하면 특별히 자료구조를 구현하지않고 풀 수 있게끔 출제되는지 궁금합니다! C++은 list 사용하면 이중 연결 리스트를 만들 수 있는 것으로 알고 있는데 JS는 그런게 없어서 갑자기 문득 궁금해졌어요...
실전! 코틀린과 스프링 부트로 도서관리 애플리케이션 개발하기 (Java 프로젝트 리팩토링)
좋은 ~ 강의 잘 봤습니다. 다름아니라 질문이 적절한지는 모르겠으나, 서칭하다 막혀서 문의드려봅니다..ㅜㅜ 현업에서도 실제로 람다와 함수를 이용한 코딩을 주로 하는지 궁금합니다.. 람다가 편한것도 있고 가독성도 좋은 부분은 알겠으나, 재사용하기에 힘든부분도 있는것 같아서 그나마 재활용 가능하게 람다를 고차함수 형태로 만들어서, 함수 프로그래밍 방식으로 하는지 궁금합니다..ㅜㅜ(맞는 표현인지...;;) 이러한걸 고민하는 이유는, 항상 객체지향 방식으로 코딩하다, 코틀린을 공부하면서, 1급객체와, 고차함수 에 람다식을 섞었 쓰는 부분에 매력을 느끼게되어서, 해당 스킬들을 공부하여, 적용하고싶은데, 막상 적용시키려니, 생각보다 어려운 부분이 많아서.. 공부를 따로하여, 실제 적용할만한 값어치가 있는지 고민하게되었습니다.. 순수함수까지는 아니더라도, 공부를 하여, 1급함수형 프로그래밍을 객체지향과 섞어쓸 매력이 있는지 궁금합니다.