oui icon indicating copy to clipboard operation
oui copied to clipboard

[BUG] Building process breaks when path has space

Open BigSamu opened this issue 1 year ago • 2 comments

Describe the bug

When running yarn build for oui, the build fails if the path to the folder has an empty space.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo using the following command: git clone git clone https://github.com/opensearch-project/oui.git bug_oui\ space
  2. Run yarn install
  3. Run yarn build
  4. See error

Expected behavior

The build process should not cause this error. It should manage path with blank spaces.

Screenshots

Error screenshot

image

Host/Environment (please complete the following information):

  • OUI Version: Latest version in development
  • OS: macOS Ventura 13.5.2

Additional context

N/A

BigSamu avatar Oct 31 '23 19:10 BigSamu

I've noticed most people have issues when the space is further up in their path. For example one might create a My Projects directory, into which they clone OUI. Even in that case, where the path is ~/My Projects/oui, this issue persists.

BSFishy avatar Oct 31 '23 19:10 BSFishy

I would like to pick up this one:)

willie-hung avatar Oct 31 '23 19:10 willie-hung