mkdir app
cd app
npm install #sails in dependencies key
sails new .
error: A file or directory already exists at: ./.
This is not the way you should try to use sails. Do the following.
sails new app
cd app
npm install
I will look into supporting the before mentioned, but for now, please follow the practice mentioned above by me.
npm install -g sails
npm uninstall -g sails
Is kinda dumb, but no biggie.
Sent from my iPhone
On Apr 6, 2013, at 11:28 AM, Dennis Bartlett [email protected] wrote:
This is not the way you should try to use sails. Do the following.
sails new app
cd app
npm install
—
Reply to this email directly or view it on GitHub.
the -g flag is for global install
If you plan to use the sails CLI, you will need to keep it installed globally. If you are just going to launch it with node, then i spose you don't need to.
I have few global installs. Just add node_modules/.bin to your path and you don't ever need them.
Again, no big deal :)
@rpflorence I'd like to see support for the behavior you're expected
Most helpful comment
@rpflorence I'd like to see support for the behavior you're expected