RequireJS: Paths not working from require.config() [duplicate]
RequireJS: Paths not working from require.config() [duplicate] This question already has an answer here: Even though I include my require-min.js is included, it's not picking up my paths from require.config . I've used the data-main method to load the config file. require-min.js paths require.config data-main <!--when require.js loads it will inject another script tag (with async attribute) for scripts/main.js--> http://scripts/require.js You will typically use a data-main script to set configuration options and then load the first application module. [...] However, the aliases I am using for jQuery don't work. In my config.js file... ... paths: { jQuery: 'ThirdParty/jquery-1.8.3.min' ... My index.html is as follows... ... http://js/require.js ... require(['jQuery'], function ($) { ... This throws up the following errors sometimes on console : GET http://<IPADDRESS>/js/jQuery.js 404 (Not Found) require.js:1895 Uncaught Error:...
