question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not compatible with lodash 3

See original GitHub issue

Such import of functions from lodash is not compatible with lodash 3. However, in package.json lodash 3 is specified as supported version.

Please, use import {isFunction} from 'lodash' way of importing utils or change versions in package.json

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jdaltoncommented, Oct 24, 2016

There is no compatible v3 to v4 cherry-pick import path. Simply drop the v3 mention in the docs. v3 is no longer maintained (no bug fixes applied to it) and v5 is just a little more than 2 months away.

0reactions
jdaltoncommented, Oct 24, 2016

Cool. You could use babel-plugin-lodash to make things easier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lodash
A JavaScript utility library delivering consistency, modularity, performance, & extras.
Read more >
How do I install lodash v3 Typescript typings - Stack Overflow
Just run: npm install --save-dev @types/lodash@3.10.2. You can see what other 3.* versions are available on the npm page: ...
Read more >
@types/lodash - npm
Start using @types/lodash in your project by running `npm i ... There are 9858 other projects in the npm registry using @types/lodash.
Read more >
It's time to let go of lodash - JS.dev Community ‍
A lot of the cross-browser compatible functionality that lodash offers is now easily replicatable in the browser natively.
Read more >
How to use lodash-es using import in Node 14? · Issue #4800
I'm trying to use lodash-es in the latest Node 14, which has out of the box support for ES modules . This means...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found