npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained

后端 未结 2 1068
南方客
南方客 2021-01-07 18:53

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          


        
2条回答
  •  遥遥无期
    2021-01-07 19:31

    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.

提交回复
热议问题