SailsJS Error on Install: npm ERR! enoent ENOENT
npm ERR! enoent ENOENT: no such file or directory, chmod '/nodemodules/sails/nodemodules/anchor/nodemodules/geojsonhint/nodemodules/jsonlint-lines/nodemodules/nomnom/nodemodules/chalk/node_modules/strip-ansi/cli.js'
A temporary solution is to modify the package.json file to use a GitHub fork instead of the standard npm package:
'sails': 'github:tghastings/sails#hastings-fix',
Following this change, users should clear their node_modules directory and npm cache before reinstalling dependencies. I submitted a pull request to the anchor project on GitHub that adds the geojsonhint dependency back into package.json.
Leave a comment