I have this path in require.js
require.config({
"paths": {
"jquery": "../../../../../endeavour-ui-common/src/main/webapp/js/libs/jquery/jquery-1.8.2.min",
....
},
"shim"{
....
It is giving me
Error: scripterror: Illegal path or script error: ['jquery']
I can make sure that path is correct because same path opens the file in terminal. For example:
open ../../../../../endeavour-ui-common/src/main/webapp/js/libs/jquery/jquery-1.8.2.min.js
Any clue how to fix this?