# Particle CLI issue

**URL:** <https://community.particle.io/t/particle-cli-issue/61777>\
**Category:** CLI\
**Created:** [January 4, 2022, 10:02pm UTC](https://community.particle.io/t/particle-cli-issue/61777 "2022-01-04T22:02:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![satnam811](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@satnam811](https://community.particle.io/u/satnam811)\
**Post date:** [January 4, 2022, 10:02pm UTC](https://community.particle.io/t/particle-cli-issue/61777/1 "2022-01-04T22:02:31Z")

</div>

Particle CLI issue.

Hi There,

We are using particle CLI for around 2 years now. Today morning it gave the following error.

**C:\Users\ssingh\>particle setup**  
\*\* ! Error in particle-cli:\*\*  
\*\* ! Cannot find module ‘particle-cli’\*\*  
**Require stack:**  
**- C:\Users\ssingh\AppData\Local\particle[eval]**  
\*\* ! See C:\Users\ssingh\AppData\Local\particle\error.log for more info.\*\*

There is NO eval folder in the specified location. The error file shows this as the last log.

**Error: Cannot find module 'particle-cli’**  
**Require stack:**  
**- C:\Users\ssingh\AppData\Local\particle[eval]**  
\*\* at Function.Module.\_resolveFilename (internal/modules/cjs/loader.js:982:15)\*\*  
\*\* at Function.Module.\_load (internal/modules/cjs/loader.js:864:27)\*\*  
\*\* at Module.require (internal/modules/cjs/loader.js:1044:19)\*\*  
\*\* at require (internal/modules/cjs/helpers.js:77:18)\*\*  
\*\* at [eval]:32:2\*\*  
\*\* at Script.runInThisContext (vm.js:120:20)\*\*  
\*\* at Object.runInThisContext (vm.js:311:38)\*\*  
\*\* at Object. ([eval]-wrapper:10:26)\*\*  
\*\* at Module.\_compile (internal/modules/cjs/loader.js:1158:30)\*\*  
\*\* at evalScript (internal/process/execution.js:94:25)\*\*  
**2022/01/04 12:37:32 Time since last update 1m5.4686885s, update in background**

Please help me resolve this. I have tried to uninstall and reinstall the CLI, same results.

---

<div class="post-metadata">

**Author:** ![lanceseidman](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/lanceseidman/32/26439_2.png) [@lanceseidman](https://community.particle.io/u/lanceseidman)\
**Post date:** [January 4, 2022, 11:08pm UTC](https://community.particle.io/t/particle-cli-issue/61777/2 "2022-01-04T23:08:46Z")

</div>

It looks like this module needs to be reinstalled. You can use npm to do so and add -g for a global install.

---

<div class="post-metadata">

**Author:** ![m\_m](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/m_m/32/18365_2.png) [@m\_m](https://community.particle.io/u/m_m)\
**Post date:** [January 4, 2022, 11:46pm UTC](https://community.particle.io/t/particle-cli-issue/61777/3 "2022-01-04T23:46:24Z")

</div>

these troubleshooting steps might be helpful:

> **[Troubleshooting the Particle CLI](https://support.particle.io/hc/en-us/articles/1260801311330-Troubleshooting-the-Particle-CLI)**
>
>  
> This guide is divided into five sections:
> 
> How To Use And Interact With The CLI
> Running A Basic CLI Functionality Check
> Ensuring The CLI Is Properly Installed And Configured
> Steps To Take If The ...

---

<div class="post-metadata">

**Author:** ![satnam811](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@satnam811](https://community.particle.io/u/satnam811)\
**Post date:** [January 5, 2022, 4:58pm UTC](https://community.particle.io/t/particle-cli-issue/61777/4 "2022-01-05T16:58:23Z")

</div>

Thankyou, I was able to fix it.
