Skip to content

Fixed the error "arch: brew not found in PATH" while installing driver#662

Merged
cavearr merged 1 commit into
FPGAwars:developfrom
SaijSaij:fix/brew_not_in_path
Nov 19, 2022
Merged

Fixed the error "arch: brew not found in PATH" while installing driver#662
cavearr merged 1 commit into
FPGAwars:developfrom
SaijSaij:fix/brew_not_in_path

Conversation

@SaijSaij

Copy link
Copy Markdown

When running icestudio as an app on my Mac M1 (running Ventura) I always got the error arch: brew not found in PATH while installing the drivers. It was all running good when I started icestudio through npm run start - maybe because on my console the PATH is correctly set.

This fix does not depend on PATH environment variable but checks possible absolute paths to run brew from.

It also adds a little error handling while installing the drivers (for example if a command does not return a good error code).

@cavearr cavearr merged commit e76d876 into FPGAwars:develop Nov 19, 2022
@cavearr

cavearr commented Nov 19, 2022

Copy link
Copy Markdown
Member

Thanks @Saij !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants