Opening PWAs results in a console error and crash
See original GitHub issueNotes from @bsclifton
To try and reproduce
- Go to music.youtube.com
- Add the page as a PWA using the download arrow in the omnibox
- After you add the PWA, it will open. Go ahead and close it
- Visit music.youtube.com again
- There will be an open button in omnibox (intended to open the PWA)
- Clicking that is causing the crash reported
Description
When I open any PWA on a page (using the PWA button next to the address bar), the current page crashes and disappears.
Example button:
Steps to Reproduce
- Go to music.youtube.com or the Brave apps view
- Click any app
- The page is removed
Actual result:
If I run from the console, I get the following error:
[80088:37635:0127/120708.753715:ERROR:web_app_shortcut_mac.mm(1058)] Couldn't find an Applications directory to copy app to.
Expected result:
It launches the PWA.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave 1.34.81 Chromium: 97.0.4692.99 (Official Build) (arm64) Revision d740da257583289dbebd2eb37e8668928fac5ead-refs/branch-heads/4692@{#1461} OS macOS Version 11.1 (Build 20C69)
Version/Channel Information:
- Can you reproduce this issue with the current release? Yes
- Can you reproduce this issue with the beta channel? Not tested
- Can you reproduce this issue with the nightly channel? Not tested
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? Yes
- Does the issue resolve itself when disabling Brave Rewards? Yes
- Is the issue reproducible on the latest version of Chrome? Untested
Miscellaneous Information:
This is not recent (it has never worked). I’ve tried reinstalling brave, disabling extensions, and disabling Mac accessibility apps (which was mentioned as a potential cause).
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Console.log(err) is crashing my website - node.js
It is logging the console message with an error just like you asked then continuing on waiting for new requests (logging an error...
Read more >View crashes and application not responding (ANR) errors
Open Play Console. · Select an app. · On the left menu, select Quality > Android vitals > Crashes and ANRs. · Near...
Read more >Diagnosing issues using crash reports and device logs
Use crash reports and device logs to debug app issues. ... Device console logs contain detailed information on operations that occur in both...
Read more >Detect and diagnose crashes - Android Developers
There are many situations that can cause a crash in your app. Some reasons are obvious, like checking for a null value or...
Read more >Let It Crash: Best Practices for Handling Node.js Errors on ...
Before coming to Heroku, I did some consulting work as a Node.js solutions architect. My job was to visit various companies and make...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the report folks - we have a fix which we’ve verified 😄 We should have this released in the next few days
Closing as a duplicate of https://github.com/brave/brave-browser/issues/21302
Hey @bsclifton, thanks for the note - still the same, and it’s the same across all PWAs.