# Cannot find module 'lodash' error pops up at login

**URL:** <https://community.dreamfactory.com/t/cannot-find-module-lodash-error-pops-up-at-login/4944>\
**Category:** REST API\
**Created:** [June 12, 2019, 8:51am UTC](https://community.dreamfactory.com/t/cannot-find-module-lodash-error-pops-up-at-login/4944 "2019-06-12T08:51:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyab12](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/gyab12/32/1284_2.png) [@gyab12](https://community.dreamfactory.com/u/gyab12)\
**Post date:** [June 12, 2019, 8:51am UTC](https://community.dreamfactory.com/t/cannot-find-module-lodash-error-pops-up-at-login/4944/1 "2019-06-12T08:51:31Z")

</div>

after adding a script to mySQL service this is the error i receive " ![09](https://canada1.discourse-cdn.com/flex035/uploads/dreamfactory/original/2X/3/38da36b5f4431ec6afd3d47dc0eaf4abd4bf488d.png) ".  
any solution will be appreciated

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [June 13, 2019, 10:43pm UTC](https://community.dreamfactory.com/t/cannot-find-module-lodash-error-pops-up-at-login/4944/2 "2019-06-13T22:43:25Z")

</div>

Hi @gyab12,

Have you added any scripts as well? It appears to be looking for `lodash` that can be installed by running the following in your DreamFactory install directory:

`npm install -g lodash`

After installing, the error should be gone.
