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.

"Cannot find module 'lodash/_overRest'"

See original GitHub issue

What version of async are you using? 2.1.4

Which environment did the issue occur in (Node version/browser version) Only in circle-ci (travis-ci is ok, Mac OS X is ok too)

What did you do? Please include a minimal reproducable case illustrating issue. Only need to ‘rerun’ circle-ci tests here: https://circleci.com/gh/libp2p/js-libp2p-webrtc-star/224

What did you expect to happen? At first I would expect it to run just fine, but second, I would expect to be able to find a reference of what is lodash/_overRest, but I’ve been scavaging through lodash and issues on the web, and it seems no one else is hitting this problem or has a reference where this module exists.

What was the actual result?

Message:
    Cannot find module 'lodash/_overRest'
Details:
    code: MODULE_NOT_FOUND
Stack:
Error: Cannot find module 'lodash/_overRest'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14

github_iconTop GitHub Comments

4reactions
maxlathcommented, Jan 18, 2017

I encountered the same issue (async version: 2.1.4 / env: Ubuntu 16.04) And I think the reason is that package.json requires { lodash: '^4.14.0' }, which is matched by the latest minor versions in which _overRest.js was removed. It’s rightfully not considered a breaking change as this is an internal file.

2reactions
amandeepmittalcommented, Jul 21, 2017

I am encountering this error and I am not using async module directly. In my app, these are the modules I am using:

    "bcrypt-nodejs": "0.0.3",
    "body-parser": "1.16.1",
    "cookie-parser": "1.4.3",
    "express": "4.14.1",
    "express-session": "1.15.1",
    "module-log": "1.0.0",
    "mongoose": "4.8.5",
    "morgan": "1.8.1"

I am using latest npm and nodejs LTS versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'lodash/_overRest' · Issue #3630 - GitHub
Hi @jdalton , I've got the same problem, but I'm not sure I understand how to solve it. What exactly do I do...
Read more >
Cannot find module 'lodash/_overRest' - npm - Stack Overflow
Cannot find module 'lodash/_overRest'. I am using npm ver 5.2 and have uploaded the screenshots of the errors and json file.
Read more >
Cannot find module 'lodash' error | bobbyhadz
If the "Cannot find module 'lodash'" error persists, open your package.json file and make sure it contains the lodash package in the dependencies...
Read more >
Cannot find module 'lodash' error [Solved] - Reactgo
The “Cannot find module 'lodash'” error occurs due to one of the following reasons: The module is not installed in the correct project…...
Read more >
Cannot Find Module 'Lodash/_Overrest' - ADocLib
237nteract: Module not found: Error: Can't resolve 'spawn-sync' in 951/986 modules 35 activektop\node_modules\lodash\_overRest.js 68% [1] building modules ...
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