Sails.js:在Chrome中遇到“请求太多”的错误

所以我正在使用新的节点MVC框架Sails.js( https://github.com/balderdashy/sails ),我得到了一个奇怪的错误,我从来没有过。 我试图实现passport.js身份validation策略示例( https://gist.github.com/theangryangel/5060446)Sails.js包含在文档中,但是当我尝试访问我的主页( http://localhost:1337/ )虽然没有login我得到路由到http://localhost:1337/login但它不加载和chrome给我这个错误:

 This webpage has a redirect loop The webpage at http://localhost:1337/login has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer. Here are some suggestions: Reload this webpage later. Learn more about this problem. Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. 

有谁知道发生了什么事?

看起来这个消息来自护照。 如果你愿意,可以跳进IRC(#sailsjs),我们可以看看。 同时,@ robertklep的build议对我来说似乎是一个很大的可能性。