Docusaurus: Launching Docusaurus V2 as installed PWA on Windows just shows manifest.json instead of the site

Created on 14 Sep 2020  路  2Comments  路  Source: facebook/docusaurus

馃悰 Bug Report

After installing v2.docusaurus.io as a PWA on Windows through Chrome and then relaunching it, I am just greeted with the manifest.json file. See gif below:

pwa-bug

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

  1. Navigate to v2.docusaurus.io through Chrome.
  2. Press the + button to install the site as a PWA.
  3. Close the app.
  4. Launch the app.
  5. manifest.json appears.

Expected behavior

The app should show the site and not just the manifest.json file.

Actual Behavior

The manifest.json file is shown.

Your Environment

  • Docusaurus version used: alpha.64.
  • Environment name and version: Chrome Version 83.0.4103.61.
  • Operating system and version (desktop or mobile): Windows 10 Version 10.0.17763 Build 17763

Reproducible Demo

Can be tested through v2.docusaurus.io.

bug good first issue hacktoberfest help wanted

All 2 comments

I've test this in the new Microsoft Edge on Windows 10 and in Chrome/Microsoft Edge on MacOS and it's doing the same thing. Our personal app is working. I suspect it might be an issue in the manifest.json file here manifest.json#L7. I _think_ the scope and start_url should both be "/".

Thanks, you are right.

Tried to find a solution here so that our deploy preview under baseurl still work to install/test the PWA setup: https://deploy-preview-3438--docusaurus-2.netlify.app/classic/

But apparently this broken both after you relaunch the app 馃槄

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rickyvetter picture rickyvetter  路  3Comments

endiliey picture endiliey  路  3Comments

ericnakagawa picture ericnakagawa  路  3Comments

sebqq picture sebqq  路  3Comments

JoelMarcey picture JoelMarcey  路  3Comments