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.

@nivo/bar misses lodash-es as dependency

See original GitHub issue

Hello,

I’ve noticed that after installing newest nivo/bar version to the clean create-react-app application and including demo Bar component from the documentation, nivo/bar misses lodash-es as dependency.

Reproduction repo

To reproduce:

  1. create-react-app application
  2. cd application
  3. npm i -S @nivo/bar
  4. add component code
  5. npm start results with:

image

I think the issue might be in babel preset, but I’m not sure. Adding lodash-es as a dependency to the project, or to nivo/bar package fixes this issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:15
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
IonicaBizaucommented, Jan 25, 2018

Something similar for @nivo/line. lodash@3.x.x was loaded, but 4.x.x was supposed to be loaded. I npm installed lodash@latest in the root of the app and the problem didn’t disappear until I manually modified the path to lodash in compute.js (obviously, that’s not a persistent change, because it’s in node_modules).

0reactions
plouccommented, May 18, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

@nivo/bar - npm
@nivo/bar. TypeScript icon, indicating that this package has built-in type declarations · Readme · Code Beta · 10 Dependencies · 154 Dependents ·...
Read more >
Untitled
Novela juliao petruchio, Andaman nicobar island tourist season! Miss china luo zilin scandal, Learning access mg, Cad usd 2006, Boston manor house, ...
Read more >
Nivo Bar Chart Axis Labels Overlapping - ADocLib
I've had to import my charts like so @nivo/bar/dist/nivo-bar.es. ... and I was wondering if I've missed a way to get axis label...
Read more >
Search Results - CVE
When handling dependencies that come from a Git repository instead of a registry, ... core function: this function also misses input validation.
Read more >
Untitled
Tel sest senat deodoro rj, Addiction ryan leslie lyrics, Playazo 2013 tampico, ... Malarnthum malaratha lyrics, Confiare en tu amor, Miss mopped 2007!...
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