I have installed a package using
npm install https://github.com/langateam/sails-swagger.git --save
Can not find module sails-swagger
I tested it and faced the same problem. Luckily I was able to fix it.
rm -rf node_modules
config/swagger.jsas described here https://github.com/langateam/sails-swagger#configuration
sails liftand visit localhost:1337/swagger/doc