loadComponents null
See original GitHub issueHi, I just upgraded to 1.0.0
and I got the following error:
Uncaught TypeError: Cannot read property 'then' of null
at Object../src/index.js (index.js:13)
at __webpack_require__ (bootstrap 9fe4b7230cd8077e37a9:707)
at fn (bootstrap 9fe4b7230cd8077e37a9:112)
at Object.0 (registerServiceWorker.js:117)
at __webpack_require__ (bootstrap 9fe4b7230cd8077e37a9:707)
at ./node_modules/@firebase/app/dist/esm/index.js.Object.defineProperty.value (bootstrap 9fe4b7230cd8077e37a9:805)
at bundle.js:809
The offending line:
loadComponents().then(() => {
Please help, thank you
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
c# - nullreferenceexception while creating window xaml
I have an issue in my WPF application, which essentially has 2 windows, a login window and a dashboard window and I get...
Read more >Component loaders
Invokes callback(null) if none of the registered loaders know about this component. ... by the loadComponent function on your loader or any other...
Read more >commonform-load-components
Start using commonform-load-components in your project by running `npm i ... callback(null, componentsCache[url] || false) }, put: function (url, component, ...
Read more >platform/hardware/samsung_slsi/exynos5
static EXYNOS_OMX_COMPONENT *gLoadComponentList = NULL; ... loadComponent = Exynos_OSAL_Malloc(sizeof(EXYNOS_OMX_COMPONENT));.
Read more >Application.LoadComponent Method (System.Windows)
An instance of the root element specified by the XAML file loaded. Exceptions. ArgumentNullException. resourceLocator is null. ArgumentException. The ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure if this change was necessary
if (!state || !state.children)
You may not have a component that needs to be lazy loaded
I’ve
__LOADABLE_STATE__
on the html, but still error@neoziro , I think this line didn’t check for empty object, the state is
{}
from my debug result