I am new to RequireJS. I get a Load Timeout error for one of the modules that I already defined in the main file. I donβt see any requests on the Network tab in Chrome, possibly because require has already downloaded this file before.
I connected to the onError require event, and I see an error. But the stack does not give the exact location / name of the file that this module tried to load. Is there a way to determine the exact file / linesOfCode?
Also, is there any way to find out at runtime all the paths defined in requireJS, some APIs such as require.getPaths()
javascript requirejs require
coding_idiot
source share