最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to update lodash to the latest version - Stack Overflow

programmeradmin7浏览0评论

I am using npm on the debian Linux flavor to install Jpm. But am getting errors about the versions of lodash installed (as follows)

test@localhost:~# npm install jpm --global
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0.

I have referred to few of the following links but am still unable to update the versions but still the issue persists.

.10.1-npm

Kindly suggest a solution to update the lodash version.

I am using npm on the debian Linux flavor to install Jpm. But am getting errors about the versions of lodash installed (as follows)

test@localhost:~# npm install jpm --global
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0.

I have referred to few of the following links but am still unable to update the versions but still the issue persists.

https://github./lodash/lodash/tree/3.10.1-npm

https://github./npm/npm/issues/10573

Kindly suggest a solution to update the lodash version.

Share Improve this question edited Mar 1, 2016 at 22:00 random_user_name 26.2k7 gold badges80 silver badges118 bronze badges asked Dec 2, 2015 at 5:41 OshoParthOshoParth 1,5523 gold badges20 silver badges45 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 9

After re-reading the question, I realised that the error is not in fact an error at all. What you are getting is a warning, saying that jpm uses [email protected], which is deprecated, and no longer maintained.

After looking at the latest version of jpm, I noticed that the lodash dependency is for version 3.3.1 which should be fine.

This makes me think that either the jpm version that is being installed is old, or a jpm dependency relies on an older version of lodash, which would need to be updated to remove the warning.

Either way, this warning can be ignored, but if you must get rid of it, you will need to rebuild jpm (or possibly a jpm dependency and jpm), after updating the deprecated lodash reference.

For me , using Windows 7 worked the following:

     npm i --save lodash

Documentation on lodash can be found here:

https://lodash./

发布评论

评论列表(0)

  1. 暂无评论