Skip to content

Instantly share code, notes, and snippets.

@marionebl
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save marionebl/9028678 to your computer and use it in GitHub Desktop.

Select an option

Save marionebl/9028678 to your computer and use it in GitHub Desktop.
Default sails.js support replies
@mikermcneil

Copy link
Copy Markdown

If you're still encountering this issue in the latest v0.10 release candidate, would you reopen this issue or create a new one and mention me? (@mikermcneil) Better yet, a pull request would be most welcome. Thanks!

Upgrading to Sails v0.10 beta:

Install:
$ sudo npm install -g sails@beta -g

Docs:
beta.sailsjs.org

Migration Guide for v0.9.x apps:
https://github.com/balderdashy/sails-docs/blob/master/Migration-Guide.md

v0.10 Upgrade Guide | Contribution Guide | Stackoverflow | Google Group | Trello | IRC | Build Status

@mikermcneil

Copy link
Copy Markdown

For more explanation of middleware vs. policies and how they apply to sockets, some workarounds, and ideas on how we could approach this going forward, see #1229 (comment) and #1431 (comment). (this includes many passportjs questions, and questions around using and configuring Express/Connect middleware.)

Contribution Guide | Stackoverflow | Google Group | Trello | IRC | Build Status

@mikermcneil

Copy link
Copy Markdown

General troubleshooting tips for failed npm install:

Wipe dependencies and clear the cache:

  $ npm cache clear
  $ sudo npm cache clear
  $ rm -rf node_modules

Next, try reinstalling Sails globally:

  $ sudo npm install sails -g

Or locally in your project (keep in mind your project's package.json will control the version of Sails which gets installed in this case):

  $ npm install sails

In some cases, updating npm will solve the problem:

  $ sudo npm install npm -g

Contribution Guide | Stackoverflow | Google Group | Trello | IRC | Build Status

@mikermcneil

Copy link
Copy Markdown

Please use relevant repository

Would you please move this to the sails-generate-views-jade repo? Please see the relevant part of the contribution guide. Thanks!

Contribution Guide | Stackoverflow | Google Group | Trello | IRC | Build Status

@mikermcneil

Copy link
Copy Markdown

Would you post this support question on Stackoverflow - you will get a good answer there way faster. If you do, you could post a link to your question here.

Please read the Contribution Guide about what to post where.

Thanks!

Contribution Guide | Stackoverflow | Google Group | Trello | IRC | Build Status

@mikermcneil

Copy link
Copy Markdown

@mikermcneil

Copy link
Copy Markdown


--
[Contribution Guide](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md) | [Stackoverflow](http://stackoverflow.com/questions/tagged/sails.js) |  [Google Group](https://groups.google.com/forum/#!forum/sailsjs) |  [Trello](https://gist.github.com/marionebl/9028678) | [IRC](http://en.irc2go.com/webchat/?net=freenode&room=sailsjs) | [Build Status](https://github.com/balderdashy/sails/blob/master/MODULES.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment