Installing a another Sails.js version locally

此生再无相见时 提交于 2019-12-05 21:19:33

Basically, you can just run

./node_modules/sails/bin/sails.js new testProject

instead of sails new testProject once you have installed rc4 in some 'parent' folder.

I recommend using a virtual environment like nave. It will help you not to disturb your existing installations.

Sequence would go something like this:

npm install nave -g
nave use <envname> stable
$npm install sails@beta -g
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!