Skip to content

Instantly share code, notes, and snippets.

@cpretzer
Created May 10, 2019 20:26
Show Gist options
  • Save cpretzer/ab2e716c4b41556df78cfc31814da857 to your computer and use it in GitHub Desktop.
Save cpretzer/ab2e716c4b41556df78cfc31814da857 to your computer and use it in GitHub Desktop.
iteratee is not a function error with building with Node 12
Uncaught TypeError: iteratee is not a function
at _baseOrderBy.js:24
at arrayMap (_arrayMap.js:16)
at _baseOrderBy.js:23
at _baseMap.js:17
at _createBaseEach.js:24
at baseMap (_baseMap.js:16)
at baseOrderBy (_baseOrderBy.js:22)
at sortBy.js:45
at apply (_apply.js:15)
at _overRest.js:32
(anonymous) @ _baseOrderBy.js:24
arrayMap @ _arrayMap.js:16
(anonymous) @ _baseOrderBy.js:23
(anonymous) @ _baseMap.js:17
(anonymous) @ _createBaseEach.js:24
baseMap @ _baseMap.js:16
baseOrderBy @ _baseOrderBy.js:22
(anonymous) @ sortBy.js:45
apply @ _apply.js:15
(anonymous) @ _overRest.js:32
BaseTable._this.generateRows @ BaseTable.jsx:93
render @ BaseTable.jsx:175
finishClassComponent @ react-dom.development.js:13393
updateClassComponent @ react-dom.development.js:13356
beginWork @ react-dom.development.js:13945
performUnitOfWork @ react-dom.development.js:16249
workLoop @ react-dom.development.js:16287
callCallback @ react-dom.development.js:145
invokeGuardedCallbackDev @ react-dom.development.js:195
invokeGuardedCallback @ react-dom.development.js:248
replayUnitOfWork @ react-dom.development.js:15578
renderRoot @ react-dom.development.js:16381
performWorkOnRoot @ react-dom.development.js:17220
performWork @ react-dom.development.js:17128
performSyncWork @ react-dom.development.js:17100
requestWork @ react-dom.development.js:16988
scheduleWork @ react-dom.development.js:16782
enqueueSetState @ react-dom.development.js:11478
./node_modules/react/cjs/react.development.js.Component.setState @ react.development.js:364
(anonymous) @ NamespaceLanding.jsx:112
Promise.then (async)
loadFromServer @ NamespaceLanding.jsx:99
setInterval (async)
componentDidMount @ NamespaceLanding.jsx:68
commitLifeCycles @ react-dom.development.js:14524
commitAllLifeCycles @ react-dom.development.js:15738
callCallback @ react-dom.development.js:145
invokeGuardedCallbackDev @ react-dom.development.js:195
invokeGuardedCallback @ react-dom.development.js:248
commitRoot @ react-dom.development.js:15908
completeRoot @ react-dom.development.js:17296
performWorkOnRoot @ react-dom.development.js:17224
performWork @ react-dom.development.js:17128
performSyncWork @ react-dom.development.js:17100
requestWork @ react-dom.development.js:16988
scheduleWork @ react-dom.development.js:16782
scheduleRootUpdate @ react-dom.development.js:17470
updateContainerAtExpirationTime @ react-dom.development.js:17497
updateContainer @ react-dom.development.js:17524
./node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render @ react-dom.development.js:17786
(anonymous) @ react-dom.development.js:17926
unbatchedUpdates @ react-dom.development.js:17351
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17922
render @ react-dom.development.js:17981
./js/index.js @ index.js:130
__webpack_require__ @ bootstrap:19
0 @ fetch.js:461
__webpack_require__ @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ bootstrap:83
3react-dom.development.js:14389 The above error occurred in the <BaseTable> component:
in BaseTable (created by WithStyles(BaseTable))
in WithStyles(BaseTable) (at MetricsTable.jsx:212)
in MetricsTable (at AppContext.jsx:10)
in Unknown (at NamespaceLanding.jsx:145)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:144)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:143)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:165)
in div (created by ExpansionPanelDetails)
in ExpansionPanelDetails (created by WithStyles(ExpansionPanelDetails))
in WithStyles(ExpansionPanelDetails) (at Accordion.jsx:54)
in div (created by Transition)
in div (created by Transition)
in div (created by Transition)
in Transition (created by Collapse)
in Collapse (created by WithStyles(Collapse))
in WithStyles(Collapse) (created by ExpansionPanel)
in div (created by Paper)
in Paper (created by WithStyles(Paper))
in WithStyles(Paper) (created by ExpansionPanel)
in ExpansionPanel (created by WithStyles(ExpansionPanel))
in WithStyles(ExpansionPanel) (at Accordion.jsx:47)
in div (at Accordion.jsx:44)
in Accordion (created by WithStyles(Accordion))
in WithStyles(Accordion) (at NamespaceLanding.jsx:215)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:213)
in div (at NamespaceLanding.jsx:225)
in NamespaceLanding (created by WithStyles(NamespaceLanding))
in WithStyles(NamespaceLanding) (at AppContext.jsx:10)
in Unknown (at Navigation.jsx:339)
in div (at Navigation.jsx:339)
in main (at Navigation.jsx:337)
in div (at Navigation.jsx:258)
in NavigationBase (created by WithStyles(NavigationBase))
in WithStyles(NavigationBase) (at AppContext.jsx:10)
in Unknown (at js/index.js:56)
in Route (at js/index.js:54)
in Switch (at js/index.js:52)
in RouterToUrlQuery (at js/index.js:51)
in Router (created by BrowserRouter)
in BrowserRouter (at js/index.js:50)
in MuiThemeProviderOld (at js/index.js:48)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:14389
logError @ react-dom.development.js:14425
update.callback @ react-dom.development.js:15112
callCallback @ react-dom.development.js:10988
commitUpdateEffects @ react-dom.development.js:11027
commitUpdateQueue @ react-dom.development.js:11018
commitLifeCycles @ react-dom.development.js:14560
commitAllLifeCycles @ react-dom.development.js:15738
callCallback @ react-dom.development.js:145
invokeGuardedCallbackDev @ react-dom.development.js:195
invokeGuardedCallback @ react-dom.development.js:248
commitRoot @ react-dom.development.js:15908
completeRoot @ react-dom.development.js:17296
performWorkOnRoot @ react-dom.development.js:17224
performWork @ react-dom.development.js:17128
performSyncWork @ react-dom.development.js:17100
requestWork @ react-dom.development.js:16988
scheduleWork @ react-dom.development.js:16782
enqueueSetState @ react-dom.development.js:11478
./node_modules/react/cjs/react.development.js.Component.setState @ react.development.js:364
(anonymous) @ NamespaceLanding.jsx:112
Promise.then (async)
loadFromServer @ NamespaceLanding.jsx:99
setInterval (async)
componentDidMount @ NamespaceLanding.jsx:68
commitLifeCycles @ react-dom.development.js:14524
commitAllLifeCycles @ react-dom.development.js:15738
callCallback @ react-dom.development.js:145
invokeGuardedCallbackDev @ react-dom.development.js:195
invokeGuardedCallback @ react-dom.development.js:248
commitRoot @ react-dom.development.js:15908
completeRoot @ react-dom.development.js:17296
performWorkOnRoot @ react-dom.development.js:17224
performWork @ react-dom.development.js:17128
performSyncWork @ react-dom.development.js:17100
requestWork @ react-dom.development.js:16988
scheduleWork @ react-dom.development.js:16782
scheduleRootUpdate @ react-dom.development.js:17470
updateContainerAtExpirationTime @ react-dom.development.js:17497
updateContainer @ react-dom.development.js:17524
./node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render @ react-dom.development.js:17786
(anonymous) @ react-dom.development.js:17926
unbatchedUpdates @ react-dom.development.js:17351
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17922
render @ react-dom.development.js:17981
./js/index.js @ index.js:130
__webpack_require__ @ bootstrap:19
0 @ fetch.js:461
__webpack_require__ @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ bootstrap:83
react-dom.development.js:14389 The above error occurred in the <BaseTable> component:
in BaseTable (created by WithStyles(BaseTable))
in WithStyles(BaseTable) (at MetricsTable.jsx:212)
in MetricsTable (at AppContext.jsx:10)
in Unknown (at NamespaceLanding.jsx:184)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:183)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:182)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:165)
in div (created by ExpansionPanelDetails)
in ExpansionPanelDetails (created by WithStyles(ExpansionPanelDetails))
in WithStyles(ExpansionPanelDetails) (at Accordion.jsx:54)
in div (created by Transition)
in div (created by Transition)
in div (created by Transition)
in Transition (created by Collapse)
in Collapse (created by WithStyles(Collapse))
in WithStyles(Collapse) (created by ExpansionPanel)
in div (created by Paper)
in Paper (created by WithStyles(Paper))
in WithStyles(Paper) (created by ExpansionPanel)
in ExpansionPanel (created by WithStyles(ExpansionPanel))
in WithStyles(ExpansionPanel) (at Accordion.jsx:47)
in div (at Accordion.jsx:44)
in Accordion (created by WithStyles(Accordion))
in WithStyles(Accordion) (at NamespaceLanding.jsx:215)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (at NamespaceLanding.jsx:213)
in div (at NamespaceLanding.jsx:225)
in NamespaceLanding (created by WithStyles(NamespaceLanding))
in WithStyles(NamespaceLanding) (at AppContext.jsx:10)
in Unknown (at Navigation.jsx:339)
in div (at Navigation.jsx:339)
in main (at Navigation.jsx:337)
in div (at Navigation.jsx:258)
in NavigationBase (created by WithStyles(NavigationBase))
in WithStyles(NavigationBase) (at AppContext.jsx:10)
in Unknown (at js/index.js:56)
in Route (at js/index.js:54)
in Switch (at js/index.js:52)
in RouterToUrlQuery (at js/index.js:51)
in Router (created by BrowserRouter)
in BrowserRouter (at js/index.js:50)
in MuiThemeProviderOld (at js/index.js:48)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment