RE: Liferay AMD Loader "Load timeout for modules" : How to debug ?

Jamie Sammons, modified 6 Years ago. New Member Posts: 20 Join Date: 4/24/19 Recent Posts
Hello community !

I wanted to know if there is a way to debug the following error "Load timeout for modules" of the Liferay Javascript AMD Loader ?
​​​​​​​
I'm developing a new portlet in React and I know that this error occurs when the app fails importing a JS component. But for now I don't have any import except "React" and it still show me this error.

Thanks in advance !
thumbnail
Ivan Zaera, modified 6 Years ago. Regular Member Posts: 119 Join Date: 10/1/13 Recent Posts
First of all, make sure to read this, please -> https://github.com/liferay/liferay-js-toolkit/wiki/How-to-troubleshoot-your-setups

Cheers,
Ivan
Nils Wilmet, modified 6 Years ago. New Member Posts: 20 Join Date: 4/24/19 Recent Posts
Hi Ivan, thanks for your fast reply,

I did actived the option "module resolution" and my React environment is actually in the array of module resolution (in the web dev console).
But even if it's loaded I don't see it and it shows me the "Load timeout for modules" error..

I know it's the Liferay AMD Loader that do the job : is there a Java class with a logger or anything that can help me having a trace of the module loader ?

Thanks again,
​​​​​​​Nils