-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error (warning) when start command "flutter run" #80
Comments
This is just a warning, but could you run |
puro --log-level=4 flutter --version Output [D] PURO_FLUTTER_BIN: null
[V] Started waiting for lock on /Users/nikitamihajlov/.puro/prefs.json
[V] Waiting for lock on /Users/nikitamihajlov/.puro/prefs.json took 1ms
[D] target: PuroBuildTarget.macosX64
[D] Platform.executable: puro
[D] Platform.resolvedExecutable: /Users/nikitamihajlov/.puro/bin/puro
[D] Platform.script: file:///Users/nikitamihajlov/Desktop/lichinew/puro
[D] Platform.packageConfig: null
[D] No package root: Platform.packageConfig is null
[D] packageRoot: null
[D] executablePath: /Users/nikitamihajlov/.puro/bin/puro
[D] scriptPath: /Users/nikitamihajlov/.puro/bin/puro
[D] scriptExtension:
[D] installationType: PuroInstallationType.distribution
[D] version: 1.4.6
[V] Checking if update is available
[V] Started waiting for lock on /Users/nikitamihajlov/.puro/latest_version
[V] Waiting for lock on /Users/nikitamihajlov/.puro/latest_version took 0ms
[D] lastNotification: null
[D] latestVersion: 1.4.6
[D] isOutOfDate: false
[D] willNotify: false
[D] shouldVersionCheck: false
[D] lastVersionCheck: 2024-05-15 11:45:57.331253
[V] Flutter SDK: /Users/nikitamihajlov/.puro/envs/stable/flutter
[V] Started waiting for lock on /Users/nikitamihajlov/.puro/envs/stable/prefs.json
[V] Waiting for lock on /Users/nikitamihajlov/.puro/envs/stable/prefs.json took 0ms
[D] flutterCache.engineVersion: f6344b75dcf861d8bf1f1322780b8811f982e31a
[D] flutterConfig.engineVersion: f6344b75dcf861d8bf1f1322780b8811f982e31a
[V] Started waiting for lock on /Users/nikitamihajlov/.puro/envs/stable/update.lock
[V] Waiting for lock on /Users/nikitamihajlov/.puro/envs/stable/update.lock took 0ms
[D] [git 4432] /Users/nikitamihajlov/.puro/envs/stable/flutter> git rev-parse HEAD
[D] git: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
[D] [git 4432] finished with exit code 0 in 20ms
[D] flutterCommit: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
[V] Started waiting for lock on /Users/nikitamihajlov/.puro/envs/stable/update.lock
[V] Waiting for lock on /Users/nikitamihajlov/.puro/envs/stable/update.lock took 0ms
[V] Setting up flutter tool took 23ms
[D] [git 4433] /Users/nikitamihajlov/.puro/envs/stable/flutter> git show HEAD:bin/internal/shared.sh
[D] [git 4433] finished with exit code 0 in 19ms
[D] > sysctl -n hw.optional.arm64
[D] sysctl finished in 14ms
[D] sysctl: 1
[D] querying arch of /Users/nikitamihajlov/.puro/envs/stable/flutter/bin/cache/dart-sdk/bin/dart
[D] > file /Users/nikitamihajlov/.puro/envs/stable/flutter/bin/cache/dart-sdk/bin/dart
[D] file finished in 8ms
[D] file: /Users/nikitamihajlov/.puro/envs/stable/flutter/bin/cache/dart-sdk/bin/dart: Mach-O 64-bit executable arm64
[D] file result: /Users/nikitamihajlov/.puro/envs/stable/flutter/bin/cache/dart-sdk/bin/dart: Mach-O 64-bit executable arm64
[D] [arch 4439] > /usr/bin/arch -arch arm64 /Users/nikitamihajlov/.puro/envs/stable/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev --packages=/Users/nikitamihajlov/.puro/envs/stable/flutter/packages/flutter_tools/.dart_tool/package_config.json /Users/nikitamihajlov/.puro/shared/flutter_tools/5dcb86f68f239346676ceb1ed1ea385bd215fba1/flutter_tools.snapshot --version
Flutter 3.22.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5dcb86f68f (6 days ago) • 2024-05-09 07:39:20 -0500
Engine • revision f6344b75dc
Tools • Dart 3.4.0 • DevTools 2.34.3
[D] [arch 4439] finished with exit code 0 in 430ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting error/warning when starting build.
How fix this?
[W] Error while parsing package configBad state: No element
#0 ListBase.firstWhere (dart:collection/list.dart:132)
#1 PuroVersion._getRootFromPackageConfig (package:puro/src/version.dart:83)
#2 PuroVersion.provider. (package:puro/src/version.dart:139)
#3 checkIfUpdateAvailable (package:puro/src/version.dart:316)
#4 PuroCommandRunner.runCommand (package:puro/src/command.dart:344)
#5 main (package:puro/src/cli.dart:256)
The text was updated successfully, but these errors were encountered: