# Fatal error When running npm test on fresh github clone

**URL:** https://discourse.processing.org/t/fatal-error-when-running-npm-test-on-fresh-github-clone/41413
**Category:** Development
**Created:** [March 23, 2023, 10:54am UTC](https://discourse.processing.org/t/fatal-error-when-running-npm-test-on-fresh-github-clone/41413 "2023-03-23T10:54:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AdityaShrivastav](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/adityashrivastav/32/17836_2.png) [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)
#### Post date: [March 23, 2023, 10:54am UTC](https://discourse.processing.org/t/fatal-error-when-running-npm-test-on-fresh-github-clone/41413/1 "2023-03-23T10:54:20Z")

</div>

> <https://github.com/processing/p5.js/issues/6038>
>
> \### Most appropriate sub-area of p5.js?
> 
> \- \[\] Accessibility
> \- \[\] Color
> \- \[… \] Core/Environment/Rendering
> \- \[\] Data
> \- \[\] DOM
> \- \[\] Events
> \- \[\] Image
> \- \[\] IO
> \- \[\] Math
> \- \[\] Typography
> \- \[\] Utilities
> \- \[\] WebGL
> \- \[X\] Build Process
> \- \[\] Unit Testing
> \- \[\] Internalization
> \- \[\] Friendly Errors
> \- \[\] Other (specify if possible)
> 
> \### p5.js version
> 
> \_No response\_
> 
> \### Web browser and version
> 
> \_No response\_
> 
> \### Operating System
> 
> Windows 
> 
> \### Steps to reproduce this
> 
> While setting up p5.js locally i am getting this error. whn i press command npm test after npm ci.
> \### Snippet:
> 
> Running "eslint-samples:source" (eslint-samples) task
> Fatal error: Cannot read properties of undefined (reading 'prefixLength')
> 
> \`\`\`

I am not able to run test locally, I’ve discribed my problem in the given issue.
