[Google Chrome] Extension won't work after logging into a managed Google account
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
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 issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
Solved with #22074 :)