Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay AMD Loader "Load timeout for modules" : How to debug ?
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 !
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 !
First of all, make sure to read this, please -> https://github.com/liferay/liferay-js-toolkit/wiki/How-to-troubleshoot-your-setups
Cheers,
Ivan
Cheers,
Ivan
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
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