node.js - Installing a another Sails.js version locally -


i've installed sails.js version 0.9.13 globally on mac runs fine, i'm trying fiddle 0.10.0-rc4 locally in folder.

running sudo npm install sails@beta seems work fine; node_modules/package.json says "version": "0.10.0-rc4"

but when run sails new testproject in folder, generated testproject/package.json says "sails": "0.9.13".

i know change testproject/package.json "version": "0.10.0-rc4" , npm install doesn't work.

what doing wrong? how fix this?

basically, can run

./node_modules/sails/bin/sails.js new testproject 

instead of sails new testproject once have installed rc4 in 'parent' folder.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -