When code flow use de navigation screen, an error occurs.
This is the error i'm getting
I've been testing a lot of scenarios and i found that this error is related with the use of OS Client Action "RequireScript" for adding external javascripts
When i disable this elements the navigation between screens works normally.
Any guide about this?
Hi. I continued reading about the problem, and i found that it is a problem with the JQUERY integration.
Can anyone give an approach about this?
Hi Juan,
You have these scripts in Resume page?
No, resume page doesn't have this scripts.
What i have is a javascript like this:
require.config({
paths: {
'dependency1':'https://cdn.jsdelivr.net/npm/@stomp/stompjs@5.0.0/bundles/stomp.umd',
'dependency2':'https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.9.6/lottie',
'dependency3':'https://my.domain.com/js/core',
'dependency4':'https://my.domain.com/js/video'
}
});
require(['dependency1','dependency2','dependency3','dependency4'],
function (dependency1,dependency2,dependency3,dependency4) {
//code here
);
Some of the scripts on require.config use define(), so i don't know if this is part of the problem.
And thanks for your reply.
I solved my problem.
What i found was there was a dependency between https://my.domain.com/js/core and https://my.domain.com/js/video, so i just added https://my.domain.com/js/core using OS RequireScript, calling it before the javascript code, and removing the line from the javascript.
Still i don't understand why this was a problem.