[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
이렇게 뜨는데 왜이럴까요 ...ㅠㅠ 에러 메시지는 정확히 lib/riverpot/state_provier_screen.dart:1:8: Error: Error when reading '../../../Documents/libraries/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_riverpod-2.1.3/lib/flutter_riverpod.dart/': Not a directory import "package:flutter_riverpod/flutter_riverpod.dart/"; ^ lib/riverpot/state_provier_screen.dart:3:24: Error: Method not found: 'StateProvider'. final numberProvider = StateProvider<int>((ref) => 0); ^^^^^^^^^^^^^ FAILURE: Build failed with an exception. * Where: Script '/Users/kimkinam/Documents/libraries/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1159 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/Users/kimkinam/Documents/libraries/flutter/bin/flutter'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s Exception: Gradle task assembleDebug failed with exit code 1 이렇게 뜹니다.
초급부터 들으면서 생긴 아주 기초적인 질문이긴 한데요.. SQL문을 쓰다보면, SELECT 000, 000, 000 DISTINT *, SUM(*), AVG(*) LIKE 'a%' (큰따옴표를 쓰는 경우도 있는지는 모르겠네요) 위와 같이 어떤 것은 테이블/컬럼명을 그래도 쓰고, 어떤것은 괄호()로 묶어주고, 어떤 것은 따옴표를 쓰고... LIKE같은 경우는 데이터 소스명이라기 보다는 문자열 표현이라 좀 구분이 가는데, DISTINCT/SELECT 등과 SUM 등의 경우와 같이 어떤것은 괄호로 묶어주고, 어떤 것은 아니고 이 기준이 무엇인지 궁금합니다ㅠ
강사님 기본과 실전 수강중에 있는데요 어느 부분에서 계속 오류가 걸리는 경우를 보면 거의 오타가 많아요 지금도 오류에 멈춰서 있습니다. 해서 원본 소스를 주시면 제 문제점 찾는데 큰 도움이 될 것 같아요. 메일로 부탁 드립니다. ( kim691220@naver.com )
_0000 이런 클래스가 많고, 중복되는 이름이 거의 대부분이라 유니크한 이름으로 쓰고 싶은데요 보니까 버튼이나 텍스트에 특정 유니크한 값이 들어가 있는 경우가 많더라구요 딱히 구글링해도 찾아보기가 어려운데, 애초에 태그 분석시 div나 span 등 태그 안에 있는 값으로 쿼리셀렉터 값을 찾을 수 있는 방법은 없는지 궁금합니다. 아래 스샷처럼 클래스 네임이 아니라, <Facebook으로 로그인> 이 문자열을 찾아서 여기 태그를 가져오고 싶어서요
Started by user Administrator Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/my-maven-project The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/my-maven-project/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/ryuu9505/demo202212260058 # timeout=10 Fetching upstream changes from https://github.com/ryuu9505/demo202212260058 > git --version # timeout=10 > git --version # 'git version 2.38.1' > git fetch --tags --force --progress -- https://github.com/ryuu9505/demo202212260058 +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision aacd3c84d395746ee5fcf35648855f792cb53577 (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f aacd3c84d395746ee5fcf35648855f792cb53577 # timeout=10 Commit message: "test" > git rev-list --no-walk aacd3c84d395746ee5fcf35648855f792cb53577 # timeout=10 Parsing POMs Established TCP socket on 35511 [my-maven-project] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/opt/maven/boot/plexus-classworlds-2.6.0.jar:/opt/maven/conf/logging jenkins.maven3.agent.Maven35Main /opt/maven /var/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3071.v7e9b_0dc08466.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 35511 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/workspace/my-maven-project/pom.xml clean compile package java.lang.reflect.InvocationTargetException 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at jenkins.maven3.agent.Maven35Main.launch(Maven35Main.java:179) 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:139) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:377) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.NoSuchMethodError: 'java.util.List org.apache.maven.eventspy.internal.EventSpyDispatcher.getEventSpies()' at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main(Maven35Launcher.java:122) ... 21 more ERROR: Failed to parse POMs java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.maven.Maven3Builder.call(Maven3Builder.java:177) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:377) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to Channel to Maven [java, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/opt/maven/boot/plexus-classworlds-2.6.0.jar:/opt/maven/conf/logging, jenkins.maven3.agent.Maven35Main, /opt/maven, /var/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3071.v7e9b_0dc08466.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar, 35511] at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:1000) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:161) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:877) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) at hudson.model.Run.execute(Run.java:1900) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) Caused by: java.lang.reflect.InvocationTargetException 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:139) ... 9 more Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException at jenkins.maven3.agent.Maven35Main.launch(Maven35Main.java:182) ... 14 more Caused by: java.lang.reflect.InvocationTargetException 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at jenkins.maven3.agent.Maven35Main.launch(Maven35Main.java:179) ... 14 more Caused by: java.lang.NoSuchMethodError: 'java.util.List org.apache.maven.eventspy.internal.EventSpyDispatcher.getEventSpies()' at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main(Maven35Launcher.java:122) ... 21 more channel stopped [DeployPublisher][INFO] Build failed, project not deployed Finished: FAILURE 실습24) Jenkins를 이용하여 Tomcat 서버에 배포하기 강에 대한 질문입니다. 강의를 따라 젠킨스 아이템을 만들어 빌드하고 실패하였는데 위 오류로 무엇이 문제인지 짐작이 가지않아 질문 남깁니다.
이 질문글 바로 이전과 비슷한 증상을 겪고 있는데요. 텔레그램 봇 명령어가 안먹힙니다. sendMessage 명령어 입력해서 실행하면 RuntimeWarning: coroutine 'Bot.send_message' was never awaited RuntimeWarning: Enable tracemalloc to get the object allocation traceback 이런 오류 메세지가 뜨는데요. Type으로 봇 명령어들 감싸보면 coroutine 타입이라고 나와요. 찾아보니 코루틴 타입 이란게 비동기화여서 async 라이브러리를 이용해 부차적인 조치를 더 해줘야 이 명령어들이 작동할 수 있는거 같아요. python-telegram-bot 라이브러리 버전은 20.0 사용하고 있습니다. 개인 세팅의 문제인지 아니면 봇 버전에 따라 변경된점이 있는지 혼자 해결이 안되네요. 도와주세요
안녕하세요. firebase notification 셋팅 다 하고 iphone 실기기로 연결 한 후에 xcode로 앱 빌드하고 나서 터미널 창에 토큰 받아오는 console.log 하는 부분에서 알 수 없는 에러가 발생합니다. [Error: [messaging/unknown] no valid “aps-environment” entitlement string found for application] 검색은 많이 해봤는데 도저히 알 수 가 없네요 identifier랑 profile도 새로 만들어보고 했는데 무슨 문제인지 모르겠습니다 도움 부탁드립니다.