envinfo
envinfo copied to clipboard
browsers not found
⟩ npx envinfo@latest --preset create-react-app
npx: installed 1 in 1.1s
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
Binaries:
Node: 12.5.0 - ~/.nvm/versions/node/v12.5.0/bin/node
Yarn: 1.16.0 - ~/.nvm/versions/node/v12.5.0/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v12.5.0/bin/npm
Browsers:
Chrome: Not Found
Firefox: Not Found
Safari: Not Found
npmPackages:
react: ^16.13.0 => 16.13.0 (15.6.2)
react-dom: ^16.13.0 => 16.13.0
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
hi @oprogramador. happy to try and help you here. if you run mdfind "kMDItemCFBundleIdentifier=='com.google.Chrome'"
in your terminal, what do you get? I get /Applications/Google Chrome.app
.
when I run npx envinfo@latest --preset create-react-app
, I get the following:
npx: installed 1 in 2.816s
System:
OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Binaries:
Node: 13.9.0 - ~/.nvm/versions/node/v13.9.0/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.13.7 - ~/.nvm/versions/node/v13.9.0/bin/npm
Browsers:
Chrome: 80.0.3987.149
Firefox: 73.0.1
Safari: 13.0.5
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found```
@ryhinchey
now my result is the following:
⟩ npx envinfo@latest --preset create-react-app
npx: installed 1 in 1.485s
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
Binaries:
Node: 12.5.0 - ~/.nvm/versions/node/v12.5.0/bin/node
Yarn: 1.16.0 - ~/.nvm/versions/node/v12.5.0/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v12.5.0/bin/npm
Browsers:
Chrome: 80.0.3987.149
Firefox: Not Found
Safari: 13.1
npmPackages:
react: ^16.13.0 => 16.13.0
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
I don't know what changed that now it detects Chrome and Safari. Anyway, it still doesn't detect Firefox though I have it installed globally.
I've found that sometimes the underlying command mdfind "kMDItemCFBundleIdentifier=='com.google.Chrome'"
and similar doesn't actually find the browsers, even when they are there although intermittently. Since mdfind seems to be a cli for spotlight this is not terribly surprising. We may consider a more reliable and portable find
command for the future.
I've found that sometimes the underlying command
mdfind "kMDItemCFBundleIdentifier=='com.google.Chrome'"
and similar doesn't actually find the browsers, even when they are there although intermittently. Since mdfind seems to be a cli for spotlight this is not terribly surprising. We may consider a more reliable and portablefind
command for the future.
This is good to know!
I just tried envinfo for the first time (on Windows 10) and it find Chrome, Edge and IE but doesn't find/show Firefox and Brave which are also installed (there's no output about those two).
Hi, just found this useful tool. I can't get browsers either. However, I installed three browsers.
Here is the browsers path:
/usr/bin/firefox-developer-edition
/usr/bin/google-chrome-unstable
/usr/bin/microsoft-edge-stable
Here is the envinfo
output:
System:
OS: Linux 6.7 Arch Linux
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 17.34 GB / 23.36 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
bun: 1.0.26 - /usr/bin/bun
Managers:
Cargo: 1.75.0 - /usr/bin/cargo
pip3: 23.3.2 - ~/.pyenv/shims/pip3
RubyGems: 3.3.25 - /usr/bin/gem
Utilities:
Make: 4.4.1 - /usr/bin/make
GCC: 13.2.1 - /usr/bin/gcc
Git: 2.43.0 - /usr/bin/git
FFmpeg: 6.1.1 - /usr/bin/ffmpeg
Curl: 8.6.0 - /usr/bin/curl
Virtualization:
Docker: 24.0.7 - /usr/bin/docker
VirtualBox: 7.0.14 - /usr/bin/vboxmanage
IDEs:
Emacs: 29.2 - /usr/bin/emacs
Vim: 9.1 - /usr/bin/vim
Languages:
Bash: 5.2.26 - /usr/bin/bash
Go: 1.21.6 - /usr/bin/go
Java: 1.8.0_402 - /usr/bin/javac
Perl: 5.38.1 - /usr/bin/perl
Protoc: 25.2 - /usr/bin/protoc
Python: 3.11.6 - /home/archie/.pyenv/shims/python
Python3: 3.11.6 - /home/archie/.pyenv/shims/python3
Ruby: 3.0.6 - /usr/bin/ruby
Rust: 1.75.0 - /usr/bin/rustc
Databases:
SQLite: 3.45.1 - /usr/bin/sqlite3