Node Error: Cannot find module ‘cors’

Node Error: Cannot find module ‘cors’ when using the NPM CORS Package.

I saw this when running grunt.

Image

If your node path is set.

echo $NODE_PATH.

You could be missing the include for the package in your package.json file.

Image