-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
TypeError 'onSuccess' of undefined #5299
Comments
Solution is to either do
|
peterbe
added a commit
to peterbe/create-react-app
that referenced
this issue
Oct 5, 2018
peterbe
added a commit
to peterbe/workon
that referenced
this issue
Oct 5, 2018
By the way, I applied the fix I mentioned in the PR by making this change so now it's no longer reproducible by visiting workon.app. |
zmitry
pushed a commit
to zmitry/create-react-app
that referenced
this issue
Oct 29, 2018
…acebook#5301) * avoid TypeError on when registering service workers without config Fixes facebook#5299 * same before config.onUpdate
Pong420
pushed a commit
to Pong420/create-react-app
that referenced
this issue
Feb 24, 2019
…acebook#5301) * avoid TypeError on when registering service workers without config Fixes facebook#5299 * same before config.onUpdate
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is this a bug report?
Yes.
Did you try recovering your dependencies?
Not applicable.
Which terms did you search for in User Guide?
Making a Progressive Web App
Environment
The ^ output doesn't say but I'm on react-scripts 2.0.4 as you can see here:
https://github.com/peterbe/workon/blob/223dac8c62dda95c313bc57f6a9adc5362290a46/package.json#L29
Steps to Reproduce
Expected Behavior
Not get an error.
Actual Behavior
Reproducible Demo
Check out https://github.com/peterbe/workon/tree/223dac8c62dda95c313bc57f6a9adc5362290a46 and
yarn install
,yarn run build
andserve -s build
.Or, if you have no previous service worker before open: https://workon.app
The text was updated successfully, but these errors were encountered: