close

April 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

can’t generate PWA package from PWABuilder (many errors)

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #11717
    Marie
    Guest

    I have tried many times, but keep getting many type of errors. I saw other issues about it on GitHub but no solution for the problem. I’m using SlickStack with the free PWA plugin from WordPress.org

    PWA

    #11718
    Lawrence
    Guest
    #11719
    Noah
    Guest

    Do you have examples of the errors you are seeing? We need to see what it says…

    #11720
    Kyle
    Guest

    Hi, thanks. The errors are different each time. For example

    Error: Error generating Android package.
    Status code: 500
    Error: Internal Server Error
    Details: Error generating app package:
    invalid json response body at ..... reason: Unexpected token < in JSON at position 0
    stack: FetchError: invalid json response body at ..... reason: Unexpected token < in JSON at position 0

    same as
    https://github.com/pwa-builder/PWABuilder/issues/2219

    #11722
    Emily
    Guest
    #11723
    Sophia
    Guest

    I tried many times to generate the package, it never works. Any ideas thanks

    #11724
    Ralph
    Guest

    Guys I have found the solution!!

    You should disable the Offline Browsing feature.

    Cache visited pages in the browser so visitors can re-access them when offline.

    from: /wp-admin/options-reading.php

    Make sure that is un-checked and then save it again. And then purge all of your website caches to be sure about that.

    Now I could export the package on the first try 😀

    #11725
    Andrea
    Guest

    Awesome, thanks for sharing!

    #11728
    Kevin
    Guest

    I’ve reported this to PWABuilder:

    https://github.com/pwa-builder/PWABuilder/issues/4641

    #11748
    Ruth
    Guest

    💯💯💯

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!