TypeError: _registerServiceWorker__WEBPACK_IMPORTED_MODULE_4__ is not a function
Module../src/index.js
src/index.js:33
30 | </Provider>,
31 | document.getElementById('root')
32 | );
> 33 | registerServiceWorker();
34 |
35 | // If you want your app to work offline and load faster, you can change
36 | // unregister() to register() below. Note this comes with some pitfalls.
View compiled
__webpack_require__
/home/sabrina/Desktop/API/chat/chat/webpack/bootstrap:782
779 | };
780 |
781 | // Execute the module function
> 782 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 783 |
784 | // Flag the module as loaded
785 | module.l = true;
View compiled
fn
/home/sabrina/Desktop/API/chat/chat/webpack/bootstrap:150
147 | );
148 | hotCurrentParents = [];
149 | }
> 150 | return __webpack_require__(request);
| ^ 151 | };
152 | var ObjectFactory = function ObjectFactory(name) {
153 | return {
View compiled
0
http://localhost:3001/static/js/main.chunk.js:837:18
__webpack_require__
/home/sabrina/Desktop/API/chat/chat/webpack/bootstrap:782
779 | };
780 |
781 | // Execute the module function
> 782 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 783 |
784 | // Flag the module as loaded
785 | module.l = true;
View compiled
checkDeferredModules
/home/sabrina/Desktop/API/chat/chat/webpack/bootstrap:45
42 | }
43 | if(fulfilled) {
44 | deferredModules.splice(i--, 1);
> 45 | result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
| ^ 46 | }
47 | }
48 | return result;
View compiled
Array.webpackJsonpCallback [as push]
/home/sabrina/Desktop/API/chat/chat/webpack/bootstrap:32
29 | deferredModules.push.apply(deferredModules, executeModules || []);
30 |
31 | // run deferred modules when all chunks ready
> 32 | return checkDeferredModules();
| ^ 33 | };
34 | function checkDeferredModules() {
35 | var result;
View compiled
(anonymous function)
http://localhost:3001/static/js/main.chunk.js:1:57