Skip to content

Commit

Permalink
[macOS] Update templates to fix issue with node 19 (#7081)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-Ayupov authored Feb 11, 2023
1 parent 5f3fb1b commit feb6252
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion images/macos/provision/core/node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defaultVersion=$(get_toolset_value '.node.default')

echo "Installing Node.js $defaultVersion"
brew_smart_install "node@$defaultVersion"
brew link node@$defaultVersion --force
brew link node@$defaultVersion --force --overwrite

echo Installing yarn...
curl -o- -L https://yarnpkg.com/install.sh | bash
Expand Down
2 changes: 1 addition & 1 deletion images/macos/templates/macOS-11.anka.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ build {
"./provision/core/ruby.sh",
"./provision/core/rubygem.sh",
"./provision/core/git.sh",
"./provision/core/mongodb.sh",
"./provision/core/node.sh",
"./provision/core/commonutils.sh",
]
Expand Down Expand Up @@ -214,7 +215,6 @@ build {
"./provision/core/apache.sh",
"./provision/core/nginx.sh",
"./provision/core/postgresql.sh",
"./provision/core/mongodb.sh",
"./provision/core/audiodevice.sh",
"./provision/core/vcpkg.sh",
"./provision/core/miniconda.sh",
Expand Down
2 changes: 1 addition & 1 deletion images/macos/templates/macOS-11.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"./provision/core/ruby.sh",
"./provision/core/rubygem.sh",
"./provision/core/git.sh",
"./provision/core/mongodb.sh",
"./provision/core/node.sh"
],
"environment_vars": [
Expand Down Expand Up @@ -201,7 +202,6 @@
"./provision/core/apache.sh",
"./provision/core/nginx.sh",
"./provision/core/postgresql.sh",
"./provision/core/mongodb.sh",
"./provision/core/audiodevice.sh",
"./provision/core/vcpkg.sh",
"./provision/core/miniconda.sh",
Expand Down
2 changes: 1 addition & 1 deletion images/macos/templates/macOS-12.anka.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ build {
"./provision/core/ruby.sh",
"./provision/core/rubygem.sh",
"./provision/core/git.sh",
"./provision/core/mongodb.sh",
"./provision/core/node.sh",
"./provision/core/commonutils.sh"
]
Expand Down Expand Up @@ -215,7 +216,6 @@ build {
"./provision/core/apache.sh",
"./provision/core/nginx.sh",
"./provision/core/postgresql.sh",
"./provision/core/mongodb.sh",
"./provision/core/audiodevice.sh",
"./provision/core/vcpkg.sh",
"./provision/core/miniconda.sh",
Expand Down
2 changes: 1 addition & 1 deletion images/macos/templates/macOS-12.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"./provision/core/ruby.sh",
"./provision/core/rubygem.sh",
"./provision/core/git.sh",
"./provision/core/mongodb.sh",
"./provision/core/node.sh",
"./provision/core/commonutils.sh"
],
Expand Down Expand Up @@ -202,7 +203,6 @@
"./provision/core/apache.sh",
"./provision/core/nginx.sh",
"./provision/core/postgresql.sh",
"./provision/core/mongodb.sh",
"./provision/core/audiodevice.sh",
"./provision/core/vcpkg.sh",
"./provision/core/miniconda.sh",
Expand Down

0 comments on commit feb6252

Please sign in to comment.