{"action":"created","issue":{"url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/233","repository_url":"https://api.github.com/repos/iron-meteor/iron-cli","labels_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/233/comments","events_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/233/events","html_url":"https://github.com/iron-meteor/iron-cli/issues/233","id":131978305,"number":233,"title":" 'iron create' command not working properly on Ubuntu 14.04","user":{"login":"gitxav","id":11687381,"avatar_url":"https://avatars.githubusercontent.com/u/11687381?v=3","gravatar_id":"","url":"https://api.github.com/users/gitxav","html_url":"https://github.com/gitxav","followers_url":"https://api.github.com/users/gitxav/followers","following_url":"https://api.github.com/users/gitxav/following{/other_user}","gists_url":"https://api.github.com/users/gitxav/gists{/gist_id}","starred_url":"https://api.github.com/users/gitxav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitxav/subscriptions","organizations_url":"https://api.github.com/users/gitxav/orgs","repos_url":"https://api.github.com/users/gitxav/repos","events_url":"https://api.github.com/users/gitxav/events{/privacy}","received_events_url":"https://api.github.com/users/gitxav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-07T15:45:24Z","updated_at":"2016-05-23T18:27:06Z","closed_at":null,"body":"\r\nWhen running iron create project_name I get the following error:\r\n\r\n\r\nCreating project  app... \\\r\nMeteor app created\r\ncreated subastas0/app/client\r\ncreated subastas0/app/client/.gitkeep\r\ncreated subastas0/app/client/collections\r\ncreated subastas0/app/client/collections/.gitkeep\r\ncreated subastas0/app/client/head.html\r\ncreated subastas0/app/client/lib\r\ncreated subastas0/app/client/lib/.gitkeep\r\ncreated subastas0/app/client/stylesheets\r\ncreated subastas0/app/client/stylesheets/.gitkeep\r\ncreated subastas0/app/client/templates\r\ncreated subastas0/app/client/templates/.gitkeep\r\ncreated subastas0/app/client/templates/layouts\r\ncreated subastas0/app/client/templates/layouts/master_layout\r\ncreated subastas0/app/client/templates/layouts/master_layout/master_layout.html\r\ncreated subastas0/app/client/templates/layouts/master_layout/master_layout.js\r\ncreated subastas0/app/client/templates/shared\r\ncreated subastas0/app/client/templates/shared/loading\r\ncreated subastas0/app/client/templates/shared/loading/loading.html\r\ncreated subastas0/app/client/templates/shared/not_found\r\ncreated subastas0/app/client/templates/shared/not_found/not_found.html\r\ncreated subastas0/app/lib\r\ncreated subastas0/app/lib/.gitkeep\r\ncreated subastas0/app/lib/collections\r\ncreated subastas0/app/lib/collections/.gitkeep\r\ncreated subastas0/app/lib/controllers\r\ncreated subastas0/app/lib/controllers/.gitkeep\r\ncreated subastas0/app/lib/routes.js\r\ncreated subastas0/app/packages\r\ncreated subastas0/app/packages/.gitkeep\r\ncreated subastas0/app/private\r\ncreated subastas0/app/private/.gitkeep\r\ncreated subastas0/app/public\r\ncreated subastas0/app/public/.gitkeep\r\ncreated subastas0/app/server\r\ncreated subastas0/app/server/.gitkeep\r\ncreated subastas0/app/server/bootstrap.js\r\ncreated subastas0/app/server/collections\r\ncreated subastas0/app/server/collections/.gitkeep\r\ncreated subastas0/app/server/lib\r\ncreated subastas0/app/server/lib/.gitkeep\r\ncreated subastas0/app/server/publish.js\r\ncreated app/client/templates/home\r\ncreated app/client/templates/home/home.html\r\nError creating file ... Error: EISDIR: illegal operation on a directory, open '/home/dedalus/Meteorjs'\r\n/usr/local/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267\r\n\t\t\t\t\t\tthrow(ex);\r\n\t\t\t\t\t\t^\r\n\r\nError: EISDIR: illegal operation on a directory, open '/home/dedalus/Meteorjs'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:584:18)\r\n    at Object.fs.writeFileSync (fs.js:1224:33)\r\n    at Generator.createFile (/usr/local/lib/node_modules/iron-meteor/lib/tools/file_system.js:34:8)\r\n    at Generator.template (/usr/local/lib/node_modules/iron-meteor/lib/tools/file_system.js:368:18)\r\n    at Generator.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/generators/template.js:32:8)\r\n    at Generator.invoke (/usr/local/lib/node_modules/iron-meteor/lib/command.js:111:26)\r\n    at /usr/local/lib/node_modules/iron-meteor/lib/generator.js:90:34\r\n    at Object.CurrentConfig.withValue (/usr/local/lib/node_modules/iron-meteor/lib/config.js:65:13)\r\n    at Object.CurrentConfig.withConfigFile (/usr/local/lib/node_modules/iron-meteor/lib/config.js:96:17)\r\n\r\n\r\nI'm working on Ubuntu 14.04 with Meteor 1.2.1 and Nodejs 5.5.0\r\n\r\nI'll really appreciate any advice to fix the issue.\r\n"},"comment":{"url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/comments/221054414","html_url":"https://github.com/iron-meteor/iron-cli/issues/233#issuecomment-221054414","issue_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/233","id":221054414,"user":{"login":"l0oky","id":5659846,"avatar_url":"https://avatars.githubusercontent.com/u/5659846?v=3","gravatar_id":"","url":"https://api.github.com/users/l0oky","html_url":"https://github.com/l0oky","followers_url":"https://api.github.com/users/l0oky/followers","following_url":"https://api.github.com/users/l0oky/following{/other_user}","gists_url":"https://api.github.com/users/l0oky/gists{/gist_id}","starred_url":"https://api.github.com/users/l0oky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l0oky/subscriptions","organizations_url":"https://api.github.com/users/l0oky/orgs","repos_url":"https://api.github.com/users/l0oky/repos","events_url":"https://api.github.com/users/l0oky/events{/privacy}","received_events_url":"https://api.github.com/users/l0oky/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T18:27:06Z","updated_at":"2016-05-23T18:27:06Z","body":"I am getting similar issue.\r\n\r\n```bash\r\nl0oky@laptop:~/Projects/nodejs/src/imasoft.ba$ iron create web\r\ncreated web\r\ncreated web/.iron\r\ncreated web/.iron/config.json\r\ncreated web/bin\r\ncreated web/bin/.gitkeep\r\ncreated web/build\r\ncreated web/build/.gitkeep\r\ncreated web/build/README\r\ncreated web/config\r\ncreated web/config/.gitkeep\r\ncreated web/config/development\r\ncreated web/config/development/env.sh\r\ncreated web/config/development/settings.json\r\ncreated web/config/production\r\ncreated web/config/production/env.sh\r\ncreated web/config/production/settings.json\r\nCreating project  app... \\\r\n/usr/local/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267\r\n\t\t\t\t\t\tthrow(ex);\r\n\t\t\t\t\t\t^\r\n\r\nError: EISDIR: illegal operation on a directory, unlink 'web/app/client'\r\n    at Error (native)\r\n    at Object.fs.unlinkSync (fs.js:980:18)\r\n    at /usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:35:10\r\n    at Function._.each._.forEach (/usr/local/lib/node_modules/iron-meteor/node_modules/underscore/underscore.js:153:9)\r\n    at Command.createEmptyMeteorProject (/usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:32:7)\r\n    at /usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:63:10\r\n    at Object.CurrentConfig.withValue (/usr/local/lib/node_modules/iron-meteor/lib/config.js:65:13)\r\n    at Command.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:58:24)\r\n    at Command.invoke (/usr/local/lib/node_modules/iron-meteor/lib/command.js:111:26)\r\n    at Command.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/commands/create.js:15:37)\r\n```\r\n\r\nI even tried @comefectiva solution:\r\n\r\n```bash\r\nl0oky@laptop:~/Projects/nodejs/src/imasoft.ba/web$ iron init\r\ncreated .iron\r\ncreated .iron/config.json\r\ncreated bin\r\ncreated bin/.gitkeep\r\ncreated build\r\ncreated build/.gitkeep\r\ncreated build/README\r\ncreated config\r\ncreated config/.gitkeep\r\ncreated config/development\r\ncreated config/development/env.sh\r\ncreated config/development/settings.json\r\ncreated config/production\r\ncreated config/production/env.sh\r\ncreated config/production/settings.json\r\nCreating project  app... |\r\n/usr/local/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267\r\n\t\t\t\t\t\tthrow(ex);\r\n\t\t\t\t\t\t^\r\n\r\nError: EISDIR: illegal operation on a directory, unlink '/home/l0oky/Projects/nodejs/src/imasoft.ba/web/app/client'\r\n    at Error (native)\r\n    at Object.fs.unlinkSync (fs.js:980:18)\r\n    at /usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:35:10\r\n    at Function._.each._.forEach (/usr/local/lib/node_modules/iron-meteor/node_modules/underscore/underscore.js:153:9)\r\n    at Command.createEmptyMeteorProject (/usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:32:7)\r\n    at /usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:63:10\r\n    at Object.CurrentConfig.withValue (/usr/local/lib/node_modules/iron-meteor/lib/config.js:65:13)\r\n    at Command.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:58:24)\r\n    at Command.invoke (/usr/local/lib/node_modules/iron-meteor/lib/command.js:111:26)\r\n    at Command.run (/usr/local/lib/node_modules/iron-meteor/lib/command.js:91:21)\r\n```\r\n\r\nWhat should I do? iron-meteor was working great a few days ago..."}}
{"actor":{"display_login":"l0oky"}}