{"action":"created","issue":{"url":"https://api.github.com/repos/alanshaw/grunt-include-replace/issues/57","labels_url":"https://api.github.com/repos/alanshaw/grunt-include-replace/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/alanshaw/grunt-include-replace/issues/57/comments","events_url":"https://api.github.com/repos/alanshaw/grunt-include-replace/issues/57/events","html_url":"https://github.com/alanshaw/grunt-include-replace/issues/57","id":103977971,"number":57,"title":"Grunt aborting - Warning: undefined is not a function\u0007 Use --force to continue","user":{"login":"simonwaw","id":3370819,"avatar_url":"https://avatars.githubusercontent.com/u/3370819?v=3","gravatar_id":"","url":"https://api.github.com/users/simonwaw","html_url":"https://github.com/simonwaw","followers_url":"https://api.github.com/users/simonwaw/followers","following_url":"https://api.github.com/users/simonwaw/following{/other_user}","gists_url":"https://api.github.com/users/simonwaw/gists{/gist_id}","starred_url":"https://api.github.com/users/simonwaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonwaw/subscriptions","organizations_url":"https://api.github.com/users/simonwaw/orgs","repos_url":"https://api.github.com/users/simonwaw/repos","events_url":"https://api.github.com/users/simonwaw/events{/privacy}","received_events_url":"https://api.github.com/users/simonwaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T03:16:34Z","updated_at":"2015-08-31T10:05:24Z","closed_at":null,"body":"I have the below config in my grunt file however keep getting an error:\r\n\r\nRunning \"includereplace:dist\" (includereplace) task\r\nWarning: undefined is not a function\u0007 Use --force to continue.\r\n\r\nRemoving this task from my build works without issue.\r\n\r\nEnvironment:\r\nosx 10.10.3\r\nnode v0.12.7\r\nnpm 2.14.1\r\n\r\nAny ideas??\r\n\r\n...\r\n    includereplace: {\r\n        dist: {\r\n            options: {\r\n            },\r\n        files: [\r\n            {\r\n                src: 'src/profile/index.html',\r\n                dest: 'dist/profile/index.html'\r\n            },\r\n            {\r\n                src: 'src/photos/index.html',\r\n                dest: 'dist/photos/index.html'\r\n            },\r\n            {\r\n                src: 'src/admin/index.html',\r\n                dest: 'dist/admin/index.html'\r\n            },\r\n            {\r\n                src: 'src/login/index.html',\r\n                dest: 'dist/login/index.html'\r\n            }\r\n        ]\r\n    }\r\n    },\r\n..."},"comment":{"url":"https://api.github.com/repos/alanshaw/grunt-include-replace/issues/comments/136321991","html_url":"https://github.com/alanshaw/grunt-include-replace/issues/57#issuecomment-136321991","issue_url":"https://api.github.com/repos/alanshaw/grunt-include-replace/issues/57","id":136321991,"user":{"login":"alanshaw","id":152863,"avatar_url":"https://avatars.githubusercontent.com/u/152863?v=3","gravatar_id":"","url":"https://api.github.com/users/alanshaw","html_url":"https://github.com/alanshaw","followers_url":"https://api.github.com/users/alanshaw/followers","following_url":"https://api.github.com/users/alanshaw/following{/other_user}","gists_url":"https://api.github.com/users/alanshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/alanshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanshaw/subscriptions","organizations_url":"https://api.github.com/users/alanshaw/orgs","repos_url":"https://api.github.com/users/alanshaw/repos","events_url":"https://api.github.com/users/alanshaw/events{/privacy}","received_events_url":"https://api.github.com/users/alanshaw/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T10:05:24Z","updated_at":"2015-08-31T10:05:24Z","body":"Could you run with --stack to get the stacktrace printed?"}}