# Unable to run test on local machine

**URL:** <https://community.postman.com/t/unable-to-run-test-on-local-machine/20920>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [March 2, 2021, 3:46am UTC](https://community.postman.com/t/unable-to-run-test-on-local-machine/20920 "2021-03-02T03:46:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![2019ucp1350](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/2019ucp1350/32/7521_2.png) [@2019ucp1350](https://community.postman.com/u/2019ucp1350)\
**Post date:** [March 2, 2021, 3:46am UTC](https://community.postman.com/t/unable-to-run-test-on-local-machine/20920/1 "2021-03-02T03:46:40Z")

</div>

I had created a new codegen for reactjs but unable to run the test because of the following error?

D:\postman-code-generators\node\_modules\eslint\lib\util\glob-utils.js:255  
throw new (pathsForCurrentGlob.length ? AllFilesIgnoredError : NoFilesFoundError)(globPatterns[index]);  
^

NoFilesFoundError: No files matching ‘./bin’ were found.  
at D:\postman-code-generators\node\_modules\eslint\lib\util\glob-utils.js:255:19  
at Array.reduce ()  
at Object.listFilesToProcess (D:\postman-code-generators\node\_modules\eslint\lib\util\glob-utils.js:253:59)  
at CLIEngine.executeOnFiles (D:\postman-code-generators\node\_modules\eslint\lib\cli-engine.js:586:36)  
at D:\postman-code-generators\codegens\reactjs-axios\npm\test-lint.js:34:42  
at nextTask (D:\postman-code-generators\node\_modules\async\dist\async.js:5324:14)  
at Object.waterfall (D:\postman-code-generators\node\_modules\async\dist\async.js:5334:5)  
at module.exports (D:\postman-code-generators\codegens\reactjs-axios\npm\test-lint.js:25:9)  
at D:\postman-code-generators\node\_modules\async\dist\async.js:3880:24  
at replenish (D:\postman-code-generators\node\_modules\async\dist\async.js:1011:17) {  
messageTemplate: ‘file-not-found’,  
messageData: { pattern: ‘./bin’ }  
}

---

<div class="post-metadata">

**Author:** ![ankit.saini](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@ankit.saini](https://community.postman.com/u/ankit.saini)\
**Post date:** [March 2, 2021, 11:10am UTC](https://community.postman.com/t/unable-to-run-test-on-local-machine/20920/2 "2021-03-02T11:10:43Z")

</div>

This error is most likely caused by the presence of non-existent directories in the list `LINT_SOURCE_DIRS` in `npm/test-lint.js` file in your codegen. This is what it looks like in other codegens:

```auto
  LINT_SOURCE_DIRS = [
    './lib',
    './test',
    './npm/*.js',
    './index.js'
  ];

```
