Skip to content

Commit

Permalink
Solve issue in macos.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed May 15, 2024
1 parent 3b8c90d commit 63613ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/metacall-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@ sub_typescript(){
$SUDO_CMD npm i react@latest -g
$SUDO_CMD npm i react-dom@latest -g
elif [ "${OPERATIVE_SYSTEM}" = "Darwin" ]; then
# Install npm
brew install node@20
brew link node@20 --force --overwrite

# Install React dependencies in order to run the tests
npm i react@latest -g
npm i react-dom@latest -g
Expand Down

0 comments on commit 63613ea

Please sign in to comment.