There's an issue with r.js when using jsPDF. For more info, please read this comment: https://github.com/jrburke/r.js/issues/558#issuecomment-28669778 As I can tell, the > r.js found multiple anonymous defines and skipped naming one of the define()s. This could also be bug Is an issue, because you have https://github.com/MrRio/jsPDF/blob/master/dist/jspdf.debug.js#L1703-L1705, https://github.com/MrRio/jsPDF/blob/master/dist/jspdf.debug.js#L5673-L5675 https://github.com/MrRio/jsPDF/blob/master/dist/jspdf.debug.js#L5688 Assume that's an issue caused by build setup you're using.