# Post Login Action Template: unable to resolve path to module

**URL:** <https://community.auth0.com/t/post-login-action-template-unable-to-resolve-path-to-module/118286>\
**Category:** Get Help\
**Tags:** integration-support, marketplace\
**Created:** [October 11, 2023, 10:11am UTC](https://community.auth0.com/t/post-login-action-template-unable-to-resolve-path-to-module/118286 "2023-10-11T10:11:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fgsalomon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@fgsalomon](https://community.auth0.com/u/fgsalomon)\
**Post date:** [October 11, 2023, 10:11am UTC](https://community.auth0.com/t/post-login-action-template-unable-to-resolve-path-to-module/118286/1 "2023-10-11T10:11:43Z")

</div>

Hello,

I’m using the [Post Login Action Template repository](https://github.com/Auth0-Marketplace/TEMPLATE-action-post-login) as reference to implement our own integration and I’m getting an error when linting the action because a dependency cannot be imported.

I can reproduce the error on the template repository with the `Link External Identity Example` that has a dependency on Axios in `configuration.json`:

```auto
...
  "dependencies": [
    {
      "name": "axios",
      "version": "0.27.2"
    }
  ]
...

```

This is the error trace:

```auto
make lint
docker run --rm -t -v `pwd`/integration/:/data/integration/ auth0/marketplace-integration-tools npm run integration:lint

> marketplace-integration-templates@0.1.0 integration:lint
> eslint "./integration" --fix --no-error-on-unmatched-pattern && prettier --write "./integration" && markdownlint-cli2-fix "./integration/*.md"

/data/integration/integration.action.js
  1:23 error Unable to resolve path to module 'axios' import/no-unresolved

/data/integration/integration.spec.js
  4:27 error Unable to resolve path to module 'axios' import/no-unresolved

✖ 2 problems (2 errors, 0 warnings)

```

What do I need to do to make the lint succeed?

Thank you

---

<div class="post-metadata">

**Author:** ![fgsalomon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@fgsalomon](https://community.auth0.com/u/fgsalomon)\
**Post date:** [October 19, 2023, 6:08pm UTC](https://community.auth0.com/t/post-login-action-template-unable-to-resolve-path-to-module/118286/2 "2023-10-19T18:08:04Z")

</div>

It seems that you need to install the dependencies manually before running the command:

```auto
cd integration
npm install axios@0.27.2
make lint

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 2, 2023, 6:08pm UTC](https://community.auth0.com/t/post-login-action-template-unable-to-resolve-path-to-module/118286/3 "2023-11-02T18:08:30Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
