question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem creating NativeMessagingHosts directory

See original GitHub issue

Description

Request from the AgileBits team (https://twitter.com/dteare/status/1151548356637941762):

I was trying to go Brave-only on my new setup here but was required to install Chrome to have the ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/ folder created. Is this something you could create during Brave setup?

Steps to Reproduce

  1. Install Brave
  2. Attempt to locate the following folder: ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/

Actual result:

Folder does not exist.

Expected result:

Folder, for compat reasons, should exist.

Reproduces how often:

Always.

Brave version (brave://version info)

0.66.100

Other Additional Information:

  • Is the issue reproducible on the latest version of Chrome? No

Miscellaneous Information:

Similar issue was resolved for Muon about 2 years ago:

On macOS, the user may need to copy the Chrome/NativeMessagingHosts directory over to Brave/NativeMessagingHosts to give Brave access to the 1Password manifest. Ideally, Brave would read from any pre-existing Chrome/NativeMessagingHosts directory.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
simonhongcommented, May 4, 2021

FYI - edge uses its own directory

Simon-iMac-Pro:~ simon$ ls -la ~/Library/ApplicationSupport/Microsoft\ Edge/NativeMessagingHosts
total 8
drwx------@  3 simon  staff   96 Oct 12  2020 .
drwx------  30 simon  staff  960 Apr 28 16:47 ..
-rw-r--r--@  1 simon  staff  497 Oct 12  2020 2bua8c4s2c.com.agilebits.1password.json
1reaction
bscliftoncommented, Jul 17, 2019

We’ll want a fix similar to what is done here (where directory is created if it doesn’t exist): https://github.com/brave/muon/pull/259/files

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox should create an empty NativeMessagingHosts folder
I know this bug is closed, but I'd ask you to reconsider. For a NMH folder created with incorrect permissions, it creates confusion...
Read more >
Bundling Native Messaging Host within extension folder and ...
What steps will reproduce the problem? 1. Bundle the Native Messaging Host and the manifest file within the extension folder. ... 3. Run...
Read more >
Problem with relative path to native messaging host manifest ...
I'm developing an extension that uses a native messaging host. ... path: account name and Chrome profile folder, not to mention the browser...
Read more >
1Password can't create a required support file
The new update (6.8) is having trouble writing to ... causing issues to your user and make sure the NativeMessagingHosts folder exists.
Read more >
Creating a manifest file inside of /Library/Google/Chrome ...
Your understanding is correct. The Chromium team is investigating user directories as an additional option. Ensuring continuing security is the primary ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found