Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importing localForage causing TypeError: RangeError: Maximum call stack size exceeded. #17

Open
shaunwurdeman opened this issue Aug 6, 2019 · 0 comments

Comments

@shaunwurdeman
Copy link

Importing the localForage script in the sw.js file causes a "TypeError: RangeError: Maximum call stack size exceeded." error to be thrown in Safari on iPadOS 13 and in chrome on MacOS 10.14.5. In safari on MacOS the error is not thrown and the service worker installs properly.

If the import line is removed from sw.js it installs in chrome and on the iPad, but then loses the functionality provided by localForage.

I have also tried using the latest distribution version of localForage (1.7.3 vs the 1.7.1 currently used here) with the same results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant