invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.07k stars 193 forks source link

fix: Melos doesn't complete the bootstrap process if the absolute path of the folder contains spaces in its name. #715

Open MattiaPispisa opened 1 month ago

MattiaPispisa commented 1 month ago

Is there an existing issue for this?

Version

6.0.0

Description

Melos doesn't complete the bootstrap process if the absolute path of the folder contains spaces in its name.

Steps to reproduce

  1. create a flutter project inside a folder like: /Users/USERNAME/Documents/My Cool Projects/to_do_list_melos
  2. follow melos setup
  3. run melos bs

Result:

Running "/Users/USERNAME/Documents/My Cool Projects/to_do_list_melos/.fvm/flutter_sdk/bin/flutter pub get" in workspace packages...

/bin/sh: /Users/USERNAME/Documents/My: No such file or directory BootstrapException: Failed to install.: app at /Users/USERNAME/Documents/My Cool Projects/to_do_list_melos/app.

Expected behavior

default melos bs

Screenshots

No response

Additional context and comments

f  --version

Flutter 3.22.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision a14f74ff3a (19 hours ago) • 2024-05-22 11:08:21 -0500
Engine • revision 55eae6864b
Tools • Dart 3.4.1 • DevTools 2.34.3