error in loader module

Hi! Error with Lodash in Crawlee Please help. I ran the actor and got this error. I tried changing to different versions of Crawlee, but the error still persists. node:internal/modules/cjs/loader:1140 const err = new Error(message); ^ Error: Cannot find module './_baseGet' Require stack: - C:\wedat\dat-spain\apps\actor\node_modules\lodash\get.js - C:\wedat\dat-spain\apps\actor\node_modules@sapphire\shapeshift\dist\cjs\index.cjs - C:\wedat\dat-spain\apps\actor\node_modules@crawlee\memory-storage\memory-storage.js - C:\wedat\dat-spain\apps\actor\node_modules@crawlee\memory-storage\index.js - C:\wedat\dat-spain\apps\actor\node_modules@crawlee\core\configuration.js
3 Replies
MEE6
MEE6•2mo ago
@Zhasulyainou just advanced to level 1! Thanks for your contributions! 🎉
Hall
Hall•2mo ago
Someone will reply to you shortly. In the meantime, this might help:
ratty-blush
ratty-blush•2mo ago
To better assist you, could you provide more details? Specifically a code snippet reproducing the issue (or showing your current approach) ? Maybe share how you import lodash module, how your package.json looks, etc.. from your Error it seems that Lodash is either corrupted, missing dependencies, or there’s an issue with module resolution. Here’s what You can try: - Delete node_modules and package-lock.json -> and try to install it from scratch Or maybe You're improting it in a wrong way. So Your code reporduction would help.

Did you find this page helpful?