Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while Running Particle CLI in Windows #439

Open
salmanfarisvp opened this issue Jul 11, 2018 · 3 comments
Open

Error while Running Particle CLI in Windows #439

salmanfarisvp opened this issue Jul 11, 2018 · 3 comments

Comments

@salmanfarisvp
Copy link

I installed the Particle-cli by using the Windows CLI Installer (https://binaries.particle.io/cli/installer/windows/ParticleCLISetup.exe) , installation is completd without occuring an error but when setup particle by typing Particle Setup it throw some error

C:\Users\Faris>particle setup
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'C:\Users\Faris\AppData\Roaming\npm\node_modules\particle-cli\bin\particle.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:236:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:560:3)
@monkbroc
Copy link
Member

monkbroc commented Jul 11, 2018 via email

@salmanfarisvp
Copy link
Author

@monkbroc Thanks for the suggestion .
when i do this on Powershell

PS C:\WINDOWS\system32> npm remove -g particle-cli
up to date in 0.118s

and no output in the command prompt

@salmanfarisvp salmanfarisvp changed the title Error while Running Particle Setup in Windows Error while Running Particle CLI in Windows Jul 12, 2018
@monkbroc
Copy link
Member

Sorry I don't have a series of steps to fix exactly what's going on with your machine. You'll need to figure out why when you type particle it tries to run a script in C:\Users\Faris\AppData\Roaming\npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants