Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM6.5 console error 404 for clientlibrarymanager

Avatar

Level 8

Hi ,

 

I am getting the below error in console and is related to clientlibrarymanager.min.js  Could you please provide inputs as how could I resolve this.

It shows an error as 

 

console.log("LibraryManager: --\x3e evaluating js include failed: ",a)}else document.writeln('\x3cscript src\x3d"'+a+'" type\x3d"text/javascript"\x3e\x3c/script\x3e');else"css"===c?(c=document.getElementsByTagName("head")||document.getElementsByTagName("*"),c=c[0],f=document.createElement("link"),

 

srinivas_chann1_0-1608124038461.png

 

 

srinivas_chann1_1-1608124089246.png

 

 

Thanks

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

 

I'm not sure how you're loading the clinelibs, It seems the path isn't valid. Try to load by the libs by calling the 'categories' name, It'll include the path automatically. Usually, the path should be inside the project let say my project name is 'training' path should be like below:

 

/etc.clientlibs/<myproject>/clientlibs/soical/thridparty etc..  

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

 

I'm not sure how you're loading the clinelibs, It seems the path isn't valid. Try to load by the libs by calling the 'categories' name, It'll include the path automatically. Usually, the path should be inside the project let say my project name is 'training' path should be like below:

 

/etc.clientlibs/<myproject>/clientlibs/soical/thridparty etc..  

Avatar

Level 8

When I added the rule in dispatcher the errors got resolved .Is this the right fix, cannot I do some changes at aem publish instance which can resolve the issue instead at dispatcher.

 

/0002 { /type "allow" /url "/etc.clientlibs/*" }

 

Please provide inputs .

 

Thanks