iron-meteor / iron-cli

A scaffolding command line tool for Meteor applications.
640 stars 82 forks source link

Meteor 1.3 broke iron-cli #240

Closed ghost closed 8 years ago

ghost commented 8 years ago

Not working. When I try to create a project it says "Error: EPERM, operation not permitted"

Edit: I've tried on Windows 7, Windows 10, and Windows 8.1 with earlier and up-to-date versions of Iron-Meteor.

maka-io commented 8 years ago

Same problem.

KatSarah commented 8 years ago

I'm having the same issue.

maka-io commented 8 years ago

Found a (hopefully very temporary) workaround:

  1. Run iron create app-name
  2. After the error, cd into app-name
  3. Run iron init, and 'y/n' through all the prompts.
  4. it'll finish scaffolding the app.
maka-io commented 8 years ago

PR to fix this Meteor 1.3 bug using iron create https://github.com/iron-meteor/iron-cli/pull/241

\ At least on a Mac, not tested on Windows **

ghost commented 8 years ago

Doesn't work on windows for me.

"Error: Cannot find module 'delete'"

abhinavkumar940 commented 8 years ago

@FBRTMaka 's solution works for me on Ubuntu 15.10

malajmovic commented 8 years ago

Can confirm that Maka's solution also works for me on both Linux Mint 17.3 and Windows 10. Can even run meteor / iron update without breaking anything

switheyw commented 8 years ago

Matt's 'iron init' rerun did not work for me on OS X 10.11.4, but just rerunning 'iron create [y/n]' did. Also, I have a fix for the problem (can't find the delete module required by PR 241) but not sure how to go about it. The fix involves calling (gist.github.com/) geedew's wonderful recursive file delete routine when a directory is encountered.

maka-io commented 8 years ago

@switheyw I updated the PR since @chriskgregory experienced the error, I've had it running on Windows 7 / 10 without any problems.

chrisbutler commented 8 years ago

should be fixed in 1.5.3