Skip to content
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 cli creates routes.js outside project directory #239

Closed
SudShekhar opened this issue Mar 16, 2016 · 1 comment
Closed

iron cli creates routes.js outside project directory #239

SudShekhar opened this issue Mar 16, 2016 · 1 comment

Comments

@SudShekhar
Copy link

Hi,

I recently started using meteor and came across the iron-cli package after reading some books. Tried to create a new project using the command iron create ownapp. Following is the console output :

    created ownapp
created ownapp/.iron
....
Creating project  app... /
Meteor app created
created ownapp/app/client
....
/Users/sshekh1/Desktop/js already exists. Do you want to overwrite it? [yn]: n
created app/client/templates/home/home.css
/Users/sshekh1/Desktop/js already exists. Do you want to overwrite it? [yn]: n
updated /Users/sshekh1/Desktop/js
/Users/sshekh1/Desktop/js already exists. Do you want to overwrite it? [yn]: n
/Users/sshekh1/Desktop/js already exists. Do you want to overwrite it? [yn]: n
Installing the package  iron:router... /
Changes to your project's package version selections:

iron:controller        added, version 1.0.12
iron:core              added, version 1.0.11
iron:dynamic-template  added, version 1.0.12
iron:layout            added, version 1.0.12
iron:location          added, version 1.0.11
iron:middleware-stack  added, version 1.0.11
iron:router            added, version 1.0.12
iron:url               added, version 1.0.11


iron:router: Routing specifically designed for Meteor

✔ iron:router
created app/client/stylesheets/main.css

The application is being created inside a folder js_stuff inside desktop. However its placing the routes.js (that's what I think it is by inspecting the created js file) in the desktop itself.

When I generate new scaffolds, it updates this js file only.

@chrisbutler
Copy link
Contributor

@SudShekhar this should be fixed in 1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants