If I run 'sails new app' everything installs fine. If I go into the new app cd app
and run npm install
it runs fine. If I wipe out the 'node_modules' directory and run npm install
I get errors:
npm ERR! enoent ENOENT: no such file or directory, chmod '/node_modules/sails/node_modules/anchor/node_modules/geojsonhint/node_modules/jsonlint-lines/node_modules/nomnom/node_modules/chalk/node_modules/strip-ansi/cli.js'
Inside of the sails application go to the 'package.json' and replace: 'sails': '~0.12.13',
with: 'sails': 'github:tghastings/sails#hastings-fix',
And then run: rm -rf node_modules
npm cache clean
npm install
I've opened a pull request with the anchor project on GitHub. I had to add the 'geojsonhint' dependency back into the package.json.