{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma-requirejs/issues/6","labels_url":"https://api.github.com/repos/karma-runner/karma-requirejs/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma-requirejs/issues/6/comments","events_url":"https://api.github.com/repos/karma-runner/karma-requirejs/issues/6/events","html_url":"https://github.com/karma-runner/karma-requirejs/issues/6","id":17378126,"number":6,"title":"Make \"no timestamp\" error configurable","user":{"login":"vojtajina","id":46647,"avatar_url":"https://avatars.githubusercontent.com/u/46647?v=3","gravatar_id":"","url":"https://api.github.com/users/vojtajina","html_url":"https://github.com/vojtajina","followers_url":"https://api.github.com/users/vojtajina/followers","following_url":"https://api.github.com/users/vojtajina/following{/other_user}","gists_url":"https://api.github.com/users/vojtajina/gists{/gist_id}","starred_url":"https://api.github.com/users/vojtajina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vojtajina/subscriptions","organizations_url":"https://api.github.com/users/vojtajina/orgs","repos_url":"https://api.github.com/users/vojtajina/repos","events_url":"https://api.github.com/users/vojtajina/events{/privacy}","received_events_url":"https://api.github.com/users/vojtajina/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karma-runner/karma-requirejs/labels/PR%20please","name":"PR please","color":"207de5"},{"url":"https://api.github.com/repos/karma-runner/karma-requirejs/labels/type:%20feature","name":"type: feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-07-30T05:38:16Z","updated_at":"2016-01-19T17:58:22Z","closed_at":null,"body":"For instance when loading files through proxy, there's no timestamp and it's perfectly valid use case.\r\n\r\nMaybe something like:\r\n```js\r\nclient: {\r\n  requireJsShowNoTimestampsError: false\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/karma-runner/karma-requirejs/issues/comments/172934085","html_url":"https://github.com/karma-runner/karma-requirejs/issues/6#issuecomment-172934085","issue_url":"https://api.github.com/repos/karma-runner/karma-requirejs/issues/6","id":172934085,"user":{"login":"sstadt","id":1680034,"avatar_url":"https://avatars.githubusercontent.com/u/1680034?v=3","gravatar_id":"","url":"https://api.github.com/users/sstadt","html_url":"https://github.com/sstadt","followers_url":"https://api.github.com/users/sstadt/followers","following_url":"https://api.github.com/users/sstadt/following{/other_user}","gists_url":"https://api.github.com/users/sstadt/gists{/gist_id}","starred_url":"https://api.github.com/users/sstadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstadt/subscriptions","organizations_url":"https://api.github.com/users/sstadt/orgs","repos_url":"https://api.github.com/users/sstadt/repos","events_url":"https://api.github.com/users/sstadt/events{/privacy}","received_events_url":"https://api.github.com/users/sstadt/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T17:58:22Z","updated_at":"2016-01-19T17:58:22Z","body":"I had the same issue recently and for me there was a combination of an assumption based on a lack of understanding that /base is a keyword for karma. I kept interpreting /base/js as an indication that /base should be replaced with the path to where my js file lives.\r\n\r\nThe solution for me was very much inline with what others have mentioned above, but had to be combined with knowing that /base will be properly interpreted by karma as the base directory for my project (please correct me if my explanation is a little off on this).\r\n\r\nSo for my project (written in sails.js, which puts js files in assets/js) was as follows...\r\n\r\nkarma.conf.js\r\n```\r\n...\r\n\r\nbaseUrl: '/base',\r\n\r\n...\r\n```\r\n\r\ntest-main.js\r\n```\r\nvar tests = [];\r\n\r\nfor (var file in window.__karma__.files) {\r\n  if (window.__karma__.files.hasOwnProperty(file)) {\r\n    if (/Spec\\.js$/.test(file)) {\r\n      tests.push(file);\r\n    }\r\n  }\r\n}\r\n\r\nrequirejs.config({\r\n  baseUrl: '/base/assets/js',\r\n  deps: tests,\r\n  callback: window.__karma__.start\r\n});\r\n```\r\n\r\nAnd, for the sake of being comprehensive, I'm using my apps existing requirejs config to avoid repeating my fairly lengthy foundation 5 shims.\r\n\r\nkarma.conf.js\r\n```\r\n...\r\n\r\nfiles: [\r\n  {pattern: 'assets/js/test-main.js', included: true},\r\n  {pattern: 'assets/js/lib/config.js', included: true},\r\n  {pattern: 'assets/js/**/*.js', included: false}\r\n],\r\n\r\n...\r\n```\r\n\r\nFull project code: https://github.com/sstadt/d20-character-tracker"}}