Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. ×
  2. TypeError: Cannot read property 'apply' of undefined
  3. (anonymous function)
  4. node_modules/redux/es/redux.js:600
  5. 597 |
  6. 598 | return funcs.reduce(function (a, b) {
  7. 599 | return function () {
  8. > 600 | return a(b.apply(void 0, arguments));
  9. 601 | };
  10. 602 | });
  11. 603 | }
  12. View compiled
  13. createStore
  14. node_modules/redux/es/redux.js:79
  15. 76 | throw new Error('Expected the enhancer to be a function.');
  16. 77 | }
  17. 78 |
  18. > 79 | return enhancer(createStore)(reducer, preloadedState);
  19. | ^ 80 | }
  20. 81 |
  21. 82 | if (typeof reducer !== 'function') {
  22. View compiled
  23. Module../src/store.js
  24. src/store.js:9
  25. 6 |
  26. 7 | const middleware = [thunk];
  27. 8 |
  28. > 9 | const store = createStore(
  29. 10 | rootReducer,
  30. 11 | initialState,
  31. 12 | compose(
  32. View compiled
  33. __webpack_require__
  34. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:785
  35. 782 | };
  36. 783 |
  37. 784 | // Execute the module function
  38. > 785 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  39. | ^ 786 |
  40. 787 | // Flag the module as loaded
  41. 788 | module.l = true;
  42. View compiled
  43. fn
  44. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:150
  45. 147 | );
  46. 148 | hotCurrentParents = [];
  47. 149 | }
  48. > 150 | return __webpack_require__(request);
  49. | ^ 151 | };
  50. 152 | var ObjectFactory = function ObjectFactory(name) {
  51. 153 | return {
  52. View compiled
  53. Module../src/App.js
  54. http://localhost:3000/static/js/main.chunk.js:31:64
  55. __webpack_require__
  56. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:785
  57. 782 | };
  58. 783 |
  59. 784 | // Execute the module function
  60. > 785 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  61. | ^ 786 |
  62. 787 | // Flag the module as loaded
  63. 788 | module.l = true;
  64. View compiled
  65. fn
  66. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:150
  67. 147 | );
  68. 148 | hotCurrentParents = [];
  69. 149 | }
  70. > 150 | return __webpack_require__(request);
  71. | ^ 151 | };
  72. 152 | var ObjectFactory = function ObjectFactory(name) {
  73. 153 | return {
  74. View compiled
  75. Module../src/index.js
  76. http://localhost:3000/static/js/main.chunk.js:256:62
  77. __webpack_require__
  78. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:785
  79. 782 | };
  80. 783 |
  81. 784 | // Execute the module function
  82. > 785 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  83. | ^ 786 |
  84. 787 | // Flag the module as loaded
  85. 788 | module.l = true;
  86. View compiled
  87. fn
  88. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:150
  89. 147 | );
  90. 148 | hotCurrentParents = [];
  91. 149 | }
  92. > 150 | return __webpack_require__(request);
  93. | ^ 151 | };
  94. 152 | var ObjectFactory = function ObjectFactory(name) {
  95. 153 | return {
  96. View compiled
  97. 0
  98. http://localhost:3000/static/js/main.chunk.js:1208:18
  99. __webpack_require__
  100. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:785
  101. 782 | };
  102. 783 |
  103. 784 | // Execute the module function
  104. > 785 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  105. | ^ 786 |
  106. 787 | // Flag the module as loaded
  107. 788 | module.l = true;
  108. View compiled
  109. checkDeferredModules
  110. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:45
  111. 42 | }
  112. 43 | if(fulfilled) {
  113. 44 | deferredModules.splice(i--, 1);
  114. > 45 | result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
  115. | ^ 46 | }
  116. 47 | }
  117. 48 |
  118. View compiled
  119. Array.webpackJsonpCallback [as push]
  120. /Users/afzal.hossain/sites/saloodo/client/webpack/bootstrap:32
  121. 29 | deferredModules.push.apply(deferredModules, executeModules || []);
  122. 30 |
  123. 31 | // run deferred modules when all chunks ready
  124. > 32 | return checkDeferredModules();
  125. | ^ 33 | };
  126. 34 | function checkDeferredModules() {
  127. 35 | var result;
  128. View compiled
  129. (anonymous function)
  130. http://localhost:3000/static/js/main.chunk.js:1:65
  131. This screen is visible only in development. It will not appear if the app crashes in production.
  132. Open your browser’s developer console to further inspect this error.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement