{"action":"closed","issue":{"url":"https://api.github.com/repos/slushjs/slush/issues/40","labels_url":"https://api.github.com/repos/slushjs/slush/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/slushjs/slush/issues/40/comments","events_url":"https://api.github.com/repos/slushjs/slush/issues/40/events","html_url":"https://github.com/slushjs/slush/issues/40","id":104079941,"number":40,"title":"SyntaxError: Unexpected token ILLEGAL at Function (native)","user":{"login":"rdomingue","id":832772,"avatar_url":"https://avatars.githubusercontent.com/u/832772?v=3","gravatar_id":"","url":"https://api.github.com/users/rdomingue","html_url":"https://github.com/rdomingue","followers_url":"https://api.github.com/users/rdomingue/followers","following_url":"https://api.github.com/users/rdomingue/following{/other_user}","gists_url":"https://api.github.com/users/rdomingue/gists{/gist_id}","starred_url":"https://api.github.com/users/rdomingue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdomingue/subscriptions","organizations_url":"https://api.github.com/users/rdomingue/orgs","repos_url":"https://api.github.com/users/rdomingue/repos","events_url":"https://api.github.com/users/rdomingue/events{/privacy}","received_events_url":"https://api.github.com/users/rdomingue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-31T15:52:27Z","updated_at":"2015-09-04T11:02:58Z","closed_at":"2015-09-04T11:02:58Z","body":"I used Slush to generate a lot of projects without any problems.\r\nBut now for one project I have this error: \r\n```javascript\r\n\"events.js:85\r\n      throw er; // Unhandled 'error' event\r\n            ^\r\nSyntaxError: Unexpected token ILLEGAL\r\n    at Function (native)\r\n    at template (C:\\Users\\rene.domingue\\AppData\\Roaming\\npm\\node_modules\\slush-c\r\nri\\node_modules\\gulp-template\\node_modules\\lodash\\dist\\lodash.js:6306:22)\r\n    at DestroyableTransform._transform (C:\\Users\\rene.domingue\\AppData\\Roaming\\n\r\npm\\node_modules\\slush-cri\\node_modules\\gulp-template\\index.js:24:31)\r\n    at DestroyableTransform.Transform._read (C:\\Users\\rene.domingue\\AppData\\Roam\r\ning\\npm\\node_modules\\slush-cri\\node_modules\\gulp-template\\node_modules\\through2\\\r\nnode_modules\\readable-stream\\lib\\_stream_transform.js:184:10)\r\n    at DestroyableTransform.Transform._write (C:\\Users\\rene.domingue\\AppData\\Roa\r\nming\\npm\\node_modules\\slush-cri\\node_modules\\gulp-template\\node_modules\\through2\r\n\\node_modules\\readable-stream\\lib\\_stream_transform.js:172:12)\r\n    at doWrite (C:\\Users\\rene.domingue\\AppData\\Roaming\\npm\\node_modules\\slush-cr\r\ni\\node_modules\\gulp-template\\node_modules\\through2\\node_modules\\readable-stream\\\r\nlib\\_stream_writable.js:237:10)\r\n    at writeOrBuffer (C:\\Users\\rene.domingue\\AppData\\Roaming\\npm\\node_modules\\sl\r\nush-cri\\node_modules\\gulp-template\\node_modules\\through2\\node_modules\\readable-s\r\ntream\\lib\\_stream_writable.js:227:5)\r\n    at DestroyableTransform.Writable.write (C:\\Users\\rene.domingue\\AppData\\Roami\r\nng\\npm\\node_modules\\slush-cri\\node_modules\\gulp-template\\node_modules\\through2\\n\r\node_modules\\readable-stream\\lib\\_stream_writable.js:194:11)\r\n    at write (C:\\Users\\rene.domingue\\AppData\\Roaming\\npm\\node_modules\\slush-cri\\\r\nnode_modules\\gulp\\node_modules\\vinyl-fs\\node_modules\\through2\\node_modules\\reada\r\nble-stream\\lib\\_stream_readable.js:623:24)\r\n    at flow (C:\\Users\\rene.domingue\\AppData\\Roaming\\npm\\node_modules\\slush-cri\\n\r\node_modules\\gulp\\node_modules\\vinyl-fs\\node_modules\\through2\\node_modules\\readab\r\nle-stream\\lib\\_stream_readable.js:632:7)\"\r\n```\r\nI don't know exactly why, but when removing some folders and files, the slush works again.\r\nI was unable to find exactly what is causing this error. Is it in one of the modules? Is it a file copy/pasted in the new folder from slush that cause the error. Is it a 'too long name' problem? \r\n\r\n\r\n "}}