I\'m getting an error when using npm to install grunt-cli globally. It\'s related to lodash:
npm WARN deprecated lodash@2.4.2:
lodash@<3.0.0 is no longer
You can try running this command in your console:
npm i -g lodash
Let me know if this fixes it.
The packagegrunt-cli
relies on a older version of lodash. It shouldn't affect the functionality of grunt; it's just a warning message.
So, you're doing nothing wrong, it's not an error message, just a warning, and the way you've installed grunt-cli should work fine.