Comments (2)
Ah, you know what, I think this is specifically related to Node. I've tried a couple of manual steps on the host machine in between running the the node@16
command, and I actually think it's just not symlinked because of the keg:
brew info node@16
==> node@16: stable 16.17.0 (bottled) [keg-only]
Platform built on V8 to build network applications
https://nodejs.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
License: MIT
==> Dependencies
Build: pkg-config ✘, [email protected] ✘
Required: brotli ✔, c-ares ✔, icu4c ✔, libnghttp2 ✔, libuv ✔, [email protected] ✔
==> Caveats
node@16 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.
==> Analytics
install: 99,730 (30 days), 260,000 (90 days), 498,403 (365 days)
install-on-request: 46,398 (30 days), 113,526 (90 days), 295,347 (365 days)
build-error: 214 (30 days)
And after brew install node@16
:
brew info node@16
==> node@16: stable 16.17.0 (bottled) [keg-only]
Platform built on V8 to build network applications
https://nodejs.org/
/opt/homebrew/Cellar/node@16/16.17.0_1 (1,858 files, 47.5MB)
Poured from bottle on 2022-09-09 at 15:32:49
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
License: MIT
==> Dependencies
Build: pkg-config ✘, [email protected] ✘
Required: brotli ✔, c-ares ✔, icu4c ✔, libnghttp2 ✔, libuv ✔, [email protected] ✔
==> Caveats
node@16 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.
If you need to have node@16 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/node@16/bin:$PATH"' >> ~/.zshrc
For compilers to find node@16 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/node@16/lib"
export CPPFLAGS="-I/opt/homebrew/opt/node@16/include"
==> Analytics
install: 99,730 (30 days), 260,000 (90 days), 498,403 (365 days)
install-on-request: 46,398 (30 days), 113,526 (90 days), 295,347 (365 days)
build-error: 214 (30 days)
node -v
zsh: command not found: node
So yeah, its looks like it's working but there are some chore that need to be done for some installs. Thanks for the quick response!
from ansible-collection-mac.
I just have in my list something like:
homebrew_installed_packages:
- [email protected]
And that keeps the PHP installed version in line with the latest 7.4.x release series, at least. Are you sure there's not also just plain old node
installed that might be overriding the versioned installation too?
from ansible-collection-mac.
Related Issues (20)
- Sudo Issue with Cask Installed Item HOT 3
- Ansible fails on a warning message coming from `brew` for a Formula which has an identically named Cask HOT 2
- file name too long in set_owner_if_different(). HOT 2
- Error on installing a formula, if the same package exists as both formula and cask HOT 1
- [M2 issue] Bad CPU type in executable b''/usr/local/bin/git''' HOT 2
- Failed geerlingguy.mac.homebrew : Ensure proper ownership on homebrew_install_path subdirs. HOT 3
- Dock Command does not install correctly, causing the dock commands to skip HOT 6
- Support for spacers in the dock role
- Homebrew fails when tapping homebrew/core HOT 6
- PATH issue finding MAS, when running REMOTELY HOT 1
- Tapping default homebrew taps is broken HOT 2
- install path /opt/homebrew/Homebrew is unsupported HOT 2
- TypeError during Homebrew Cask Installation of android-platform-tools on MacOS HOT 5
- Error on [geerlingguy.mac.homebrew : Ensure proper ownership on homebrew_install_path subdirs.] OSError: [Errno 63] File name too long. HOT 1
- Error during: Ensure Homebrew is installed HOT 1
- Ensure proper ownership fails for apps with admin as group HOT 1
- Cannot install collection with galaxy: Connection Reset By Peer HOT 2
- Issues possibly with folder permissions HOT 1
- Cannot install git-credential-manager-core
- Make the binary path of "brew" accessible outside role context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-collection-mac.