-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'iron create' command not working properly on Ubuntu 14.04 #233
Comments
Same issue on Windows 8.1 immediately after updating to Meteor 1.3 |
Any luck? |
I'm having the same issue on Ubuntu 14.04, Node 4.4.2, Meteor 1.3.1, Iron 1.5.2 `/usr/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267 Error: EISDIR: illegal operation on a directory, unlink 'radiocoomevatv/app/client' |
This is a temporal solution: If you cd into the app folder and execute iron init iron-cli can finish the installation successfully, you need to do this after the crash error. This shoudn't be the right way but is a temporal solution. |
@comefectiva yes, your solution works for me! |
@comefectiva Worked to mee. |
@comefectiva works for me as well, thanks! |
I am getting similar issue. l0oky@laptop:~/Projects/nodejs/src/imasoft.ba$ iron create web
created web
created web/.iron
created web/.iron/config.json
created web/bin
created web/bin/.gitkeep
created web/build
created web/build/.gitkeep
created web/build/README
created web/config
created web/config/.gitkeep
created web/config/development
created web/config/development/env.sh
created web/config/development/settings.json
created web/config/production
created web/config/production/env.sh
created web/config/production/settings.json
Creating project app... \
/usr/local/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267
throw(ex);
^
Error: EISDIR: illegal operation on a directory, unlink 'web/app/client'
at Error (native)
at Object.fs.unlinkSync (fs.js:980:18)
at /usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:35:10
at Function._.each._.forEach (/usr/local/lib/node_modules/iron-meteor/node_modules/underscore/underscore.js:153:9)
at Command.createEmptyMeteorProject (/usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:32:7)
at /usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:63:10
at Object.CurrentConfig.withValue (/usr/local/lib/node_modules/iron-meteor/lib/config.js:65:13)
at Command.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:58:24)
at Command.invoke (/usr/local/lib/node_modules/iron-meteor/lib/command.js:111:26)
at Command.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/commands/create.js:15:37) I even tried @comefectiva solution: l0oky@laptop:~/Projects/nodejs/src/imasoft.ba/web$ iron init
created .iron
created .iron/config.json
created bin
created bin/.gitkeep
created build
created build/.gitkeep
created build/README
created config
created config/.gitkeep
created config/development
created config/development/env.sh
created config/development/settings.json
created config/production
created config/production/env.sh
created config/production/settings.json
Creating project app... |
/usr/local/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267
throw(ex);
^
Error: EISDIR: illegal operation on a directory, unlink '/home/l0oky/Projects/nodejs/src/imasoft.ba/web/app/client'
at Error (native)
at Object.fs.unlinkSync (fs.js:980:18)
at /usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:35:10
at Function._.each._.forEach (/usr/local/lib/node_modules/iron-meteor/node_modules/underscore/underscore.js:153:9)
at Command.createEmptyMeteorProject (/usr/local/lib/node_modules/iron-meteor/lib/tools/meteor.js:32:7)
at /usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:63:10
at Object.CurrentConfig.withValue (/usr/local/lib/node_modules/iron-meteor/lib/config.js:65:13)
at Command.<anonymous> (/usr/local/lib/node_modules/iron-meteor/lib/commands/init.js:58:24)
at Command.invoke (/usr/local/lib/node_modules/iron-meteor/lib/command.js:111:26)
at Command.run (/usr/local/lib/node_modules/iron-meteor/lib/command.js:91:21) What should I do? iron-meteor was working great a few days ago... |
Just a clarification/disambiguation comment to help others like me who sometimes take still others' comments too literally! I'm running iron-cli on DigitalOcean droplet.
Here's the version of iron-meteor installed:
Scary to get such an error on scaffold creation! Hope generating other stuff, e.g., views, isn't affected. Anyhow, FYI, the work-around 'iron init' fails if I run from within the actual directory whose name is 'app', i.e., '/{project_name}/app'. I had to run 'iron init' from the newly created project's root dir. I was also asked to confirm overwriting some files created with 'init create {project-name}'.
|
I have the same case. /usr/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267 Error: EISDIR: illegal operation on a directory, unlink 'postme-cli/app/client' |
Followed instruction, after over writing files, I receive the following error:
CD'ing into the 'app/' folder and running meteor add iron:routing returns the same '.meteor/release' error as above. |
this should be fixed now in 1.6.0 |
When running iron create project_name I get the following error:
Creating project app...
Meteor app created
created subastas0/app/client
created subastas0/app/client/.gitkeep
created subastas0/app/client/collections
created subastas0/app/client/collections/.gitkeep
created subastas0/app/client/head.html
created subastas0/app/client/lib
created subastas0/app/client/lib/.gitkeep
created subastas0/app/client/stylesheets
created subastas0/app/client/stylesheets/.gitkeep
created subastas0/app/client/templates
created subastas0/app/client/templates/.gitkeep
created subastas0/app/client/templates/layouts
created subastas0/app/client/templates/layouts/master_layout
created subastas0/app/client/templates/layouts/master_layout/master_layout.html
created subastas0/app/client/templates/layouts/master_layout/master_layout.js
created subastas0/app/client/templates/shared
created subastas0/app/client/templates/shared/loading
created subastas0/app/client/templates/shared/loading/loading.html
created subastas0/app/client/templates/shared/not_found
created subastas0/app/client/templates/shared/not_found/not_found.html
created subastas0/app/lib
created subastas0/app/lib/.gitkeep
created subastas0/app/lib/collections
created subastas0/app/lib/collections/.gitkeep
created subastas0/app/lib/controllers
created subastas0/app/lib/controllers/.gitkeep
created subastas0/app/lib/routes.js
created subastas0/app/packages
created subastas0/app/packages/.gitkeep
created subastas0/app/private
created subastas0/app/private/.gitkeep
created subastas0/app/public
created subastas0/app/public/.gitkeep
created subastas0/app/server
created subastas0/app/server/.gitkeep
created subastas0/app/server/bootstrap.js
created subastas0/app/server/collections
created subastas0/app/server/collections/.gitkeep
created subastas0/app/server/lib
created subastas0/app/server/lib/.gitkeep
created subastas0/app/server/publish.js
created app/client/templates/home
created app/client/templates/home/home.html
Error creating file ... Error: EISDIR: illegal operation on a directory, open '/home/dedalus/Meteorjs'
/usr/local/lib/node_modules/iron-meteor/node_modules/fibers/future.js:267
throw(ex);
^
Error: EISDIR: illegal operation on a directory, open '/home/dedalus/Meteorjs'
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.writeFileSync (fs.js:1224:33)
at Generator.createFile (/usr/local/lib/node_modules/iron-meteor/lib/tools/file_system.js:34:8)
at Generator.template (/usr/local/lib/node_modules/iron-meteor/lib/tools/file_system.js:368:18)
at Generator. (/usr/local/lib/node_modules/iron-meteor/lib/generators/template.js:32:8)
at Generator.invoke (/usr/local/lib/node_modules/iron-meteor/lib/command.js:111:26)
at /usr/local/lib/node_modules/iron-meteor/lib/generator.js:90:34
at Object.CurrentConfig.withValue (/usr/local/lib/node_modules/iron-meteor/lib/config.js:65:13)
at Object.CurrentConfig.withConfigFile (/usr/local/lib/node_modules/iron-meteor/lib/config.js:96:17)
I'm working on Ubuntu 14.04 with Meteor 1.2.1 and Nodejs 5.5.0
I'll really appreciate any advice to fix the issue.
The text was updated successfully, but these errors were encountered: