extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Google Chrome] Extension won't work after logging into a managed Google account

Open liraz747 opened this issue 1 year ago • 2 comments

Extension

https://www.raycast.com/Codely/google-chrome

Raycast Version

1.103.2

macOS Version

15.5

Description

The Chrome extension worked perfectly for me up until now, but it seems that after I signed into my Google account that's managed by an organization and Chrome offered to create a separate profile for it, despite that I selected not to, it seems to have caused the extension to completely stop working, with the error below occurring with every command.

Error:

TypeError: getDefaultProfileID is not a function

Object.<anonymous>:constants.ts:5:41

---
2: 
3: export const defaultChromeProfilePath = ["Application Support", "Google", "Chrome"];
4: export const defaultChromeStatePath = ["Application Support", "Google", "Chrome", "Local State"];
5: export const DEFAULT_CHROME_PROFILE_ID = getDefaultProfileID();
6: export const CHROME_PROFILE_KEY = "CHROME_PROFILE_KEY";
7: export const CHROME_PROFILES_KEY = "CHROME_PROFILES_KEY";
8: 
---

Module._compile:loader:1554:14
Object..js:loader:1706:10
Module.load:loader:1289:32

Steps To Reproduce

In Google Chrome, sign in with a managed/organizational Google Account - this will trigger Chrome asking to create a new profile for the account managed by the organization - decline this, and after relaunching Chrome, this error might occur when running any of the extension's commands in Raycast.

Current Behaviour

No response

Expected Behaviour

No response

liraz747 avatar Oct 01 '25 21:10 liraz747

Thank you for opening this issue!

🔔 @rgomezcasas @bromanko @crisboarna @andreaselia @rtyke @karolre @Aiee @nagauta @a-laughlin @tleo19 @Tarocch1 @rsperezn @drewbabel @haydencbarnes @pernielsentikaer you might want to have a look.

💡 Author and Contributors commands

The author and contributors of Codely/google-chrome can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

raycastbot avatar Oct 01 '25 21:10 raycastbot

Solved with #22074 :)

liraz747 avatar Oct 14 '25 13:10 liraz747