snapp_cli icon indicating copy to clipboard operation
snapp_cli copied to clipboard

Bash Line 1 error

Open CeRBeR666 opened this issue 3 months ago • 1 comments

Greetings, I've been using Snapp_cli with pleasure for about 3 months. But today, when I tried to test in debug mode, it gave me the following lines and it wouldn't deploy.

bash: line 1: /home/pi/sdk/flutter: A directory
cp: target '/tmp/vincer/build/flutter_assets': No such file or directory
cp: target '/tmp/vincer/build/linux/arm64/debug/bundle/data/flutter_assets': No such file or directory
cp: Couldn't create regular file '/tmp/vincer/build/linux/arm64/debug/bundle/data': No such file or directory
bash: line 1: /tmp/vincer/build/linux/arm64/debug/bundle/vincer: No such file or directory

Flutter doctor log on my computer

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.5, on macOS 26.0.1 25A362 darwin-arm64, locale tr-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.104.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Flutter doctor log on remote raspi 5

Flutter (Channel [user-branch], 3.35.5, on Debian GNU/Linux 12 (bookworm)
    6.12.47+rpt-rpi-2712, locale tr_TR.UTF-8)
    ! Flutter version 3.35.5 on channel [user-branch] at /home/pi/sdk/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an
      official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions
      at https://flutter.dev/setup.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss
      this error.
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓]  Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 4 categories.
pi@vincer:~ $ 

Can you help me ?

CeRBeR666 avatar Oct 06 '25 16:10 CeRBeR666

Reinstall my raspberyPi and fixed my problem thank you

CeRBeR666 avatar Oct 06 '25 17:10 CeRBeR666