Created
September 23, 2021 04:46
-
-
Save pankaj-gecko/7aa56875410bdf399baf8dcf17f7bd50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pankaj@DESKTOP-NBDKP10:~/astonish/AccountsVilla$ node app.js | |
internal/modules/cjs/loader.js:892 | |
throw err; | |
^ | |
Error: Cannot find module 'lodash' | |
Require stack: | |
- /home/pankaj/astonish/AccountsVilla/apiRoutes/user.js | |
- /home/pankaj/astonish/AccountsVilla/app.js | |
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15) | |
at Function.Module._load (internal/modules/cjs/loader.js:745:27) | |
at Module.require (internal/modules/cjs/loader.js:961:19) | |
at require (internal/modules/cjs/helpers.js:92:18) | |
at Object.<anonymous> (/home/pankaj/astonish/AccountsVilla/apiRoutes/user.js:5:11) | |
at Module._compile (internal/modules/cjs/loader.js:1072:14) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) | |
at Module.load (internal/modules/cjs/loader.js:937:32) | |
at Function.Module._load (internal/modules/cjs/loader.js:778:12) | |
at Module.require (internal/modules/cjs/loader.js:961:19) { | |
code: 'MODULE_NOT_FOUND', | |
requireStack: [ | |
'/home/pankaj/astonish/AccountsVilla/apiRoutes/user.js', | |
'/home/pankaj/astonish/AccountsVilla/app.js' | |
] | |
} |
Thank you very much. I did 'npm install lodash' and it is good to go now.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi stranger!
Here's a quick fix: