Skip to content

Commit 63613ea

Browse files
committed
Solve issue in macos.
1 parent 3b8c90d commit 63613ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/metacall-environment.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,10 @@ sub_typescript(){
517517
$SUDO_CMD npm i react@latest -g
518518
$SUDO_CMD npm i react-dom@latest -g
519519
elif [ "${OPERATIVE_SYSTEM}" = "Darwin" ]; then
520+
# Install npm
521+
brew install node@20
522+
brew link node@20 --force --overwrite
523+
520524
# Install React dependencies in order to run the tests
521525
npm i react@latest -g
522526
npm i react-dom@latest -g

0 commit comments

Comments
 (0)