Something seems to be messed up in your Sails installation. In the project directory, do:
npm uninstall sails npm cache clear npm install sails
That should fix it. A more approximate approach:
rm -rf node_modules npm cache clear npm install
To make sure all your dependencies are updated.
source share