- 강의 질문
- 개발/데이터
run.sh 실행시 build_runner 쪽에서 에러가 납니다.
firebase 세팅하던중 플러터 3.16.9 버전이 최신 firebase 라이브러리하고 안 맞는것 같아 플러터 최신 버전으로 프로젝트를 다시 만들었습니다. 그런데 run.sh 실행해보니 build_runner 쪽에서 다음과 같은 에러가 납니다.
Working in directory: ./tool/clind/theme
Running build_runner to generate and build project files...
Deprecated. Use `dart run` instead.
[INFO] Generating build script completed, took 142ms
[INFO] Precompiling build script......Could not find a command named "/Users/seungminyu/Documents/sdk/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot".
Usage: dart <command|dart-file> [arguments]
Global options:
-v, --verbose Show additional command output.
--version Print the Dart SDK version.
--enable-analytics Enable analytics.
--disable-analytics Disable analytics.
--suppress-analytics Disallow analytics for this `dart *` run without changing the analytics configuration.
-h, --help Print this usage information.
Available commands:
analyze Analyze Dart code in a directory.
compile Compile Dart to various formats.
create Create a new Dart project.
devtools Open DevTools (optionally connecting to an existing application).
doc Generate API documentation for Dart projects.
fix Apply automated fixes to Dart source code.
format Idiomatically format Dart source code.
info Show diagnostic information about the installed tooling.
pub Work with packages.
run Run a Dart program.
test Run tests for a project.
Run "dart help <command>" for more information about a command.
See https://dart.dev/tools/dart-tool for detailed documentation.
[INFO] Precompiling build script... completed, took 60ms
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.
Failed to update packages.
이 문제를 어떻게 해결해야할지 몰라 헤메고 있습니다.
빠른 답장 주시면 정말 감사하겠습니다.
감사합니다.