Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #5299
Closed
Open
Issue created Oct 05, 2018 by Administrator@rootContributor

TypeError 'onSuccess' of undefined

Created by: peterbe

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


  System:
    OS: macOS High Sierra 10.13.6
    CPU: x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
  Binaries:
    Node: 10.11.0 - /usr/local/bin/node
    Yarn: 1.10.1 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 69.0.3497.100
    Safari: 12.0
  npmPackages:
    react: 16.5.2 => 16.5.2 
    react-dom: 16.5.2 => 16.5.2 
    react-scripts: 2.0.4 => 2.0.4 
  npmGlobalPackages:
    create-react-app: Not Found

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

  1. Use Firefox Nightly (because that's the only way you can remove all previous service workers)
  2. Visit https://workon.app/
  3. First time it registers the service worker only you get this error:

Expected Behavior

Not get an error.

Actual Behavior

screen shot 2018-10-04 at 8 58 32 pm

Reproducible Demo

Check out https://github.com/peterbe/workon/tree/223dac8c62dda95c313bc57f6a9adc5362290a46 and yarn install, yarn run build and serve -s build.

Or, if you have no previous service worker before open: https://workon.app

Assignee
Assign to
Time tracking