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.

Error: Cannot find module 'string-natural-compare'

See original GitHub issue

I see that in v1.4.0 you changed the sorting library to use string-natural-compare. By just running npm install with an empty node_modules directory, and then building my script I’m getting the error that it can’t find string-natural-compare module. If I manually install that package, the build works. I’m stumped why it’s not seeming to download the package automatically. Any ideas?

Also, thanks for the great library.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
javvecommented, Jan 19, 2017

Fixed!

0reactions
noahmangercommented, Jan 19, 2017

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

string-natural-compare - npm
Compare alphanumeric strings the same way a human would, using a natural order algorithm. Latest version: 3.0.1, last published: 3 years ago ...
Read more >
How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
error ts2307: cannot find module or its corresponding type ...
The error TS2307: Cannot find module or its corresponding type declarations generally occurs when you try to import a module or library that...
Read more >
Node-jest fails with: Error: Cannot find module 'import-local'
Node-jest fails with: Error: Cannot find module 'import-local' ... natural-compare * p-each-series * p-reduce * sane * string-length ...
Read more >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
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