Troubleshoot: Particle-CLI on windows [Q&A]

1 Like

Good idea guys, I didn’t realize that was needed for the OpenSSL install, I added an issue for this here:



Thanks @BDub for letting me know :wink:

I have the post updated already. Let me know if you see more issues.

1 Like

OpenSSL v1.0.1h is out:

1 Like

Do we have to? :stuck_out_tongue: I’ll update it now :smiley:

You know…my dropbox files are meant for the beginners and advanced users won’t bother to download =D

You said “Let me know if you see more issues” :wink:

Why not just link to that site and say grab the latest version of Win32/64OpenSSL-1.0.1h or higher!

I also didn’t know if there was a downside to installing the FULL version of LIGHT version as it pertains to the CLI. I would think LIGHT should work just fine and install less crap on your computer.

1 Like

I ran into a very minor issue with Zadig. When I run the .exe the default device was “CORE DFU”. If I selected options --> list all devices and select libusbK and install, I got a “driver failed to install” error.

When I excluded the options --> list all devices step, the driver installed fine.

Very small point of potential frustration with a very easy workaround :smile:

Ohh… thats weird but anyways :smiley:

I’m having and issue with the " Run ‘npm install -g spark-cli’ " command.

When I enter that into the node js command prompt it only goes " … " and never installs?

Was in Wrong Command Prompt.

Have it installed YAY!

@kennethlimcp You’re awesome for making that tutorial

1 Like

I am trying to install it on windows 7 behind proxy wall ( i know :dizzy_face: ). And am getting error

login error: { [Error: connect ECONNREFUSED]
syscall: ‘connect’ }
Error logging in Login Failed: Error: connect ECONNREFUSED

Last time i did sort it out some how, but dont remember how . Anyone remember how to overcome it? As far I remember it was edititng some file to incorporate proxy server and port in it.


I followed the tutorial to install spark-cli on Windows but am still getting an error: LINK : fatal error LNK1181: cannot open input file ‘kernel32.lib’ [C:\Users\Emmanuel\AppData\Roaming\npm\node_modules\spark-cli\node_modules\serialport\build\serialport.vcxproj]

I tried to add kernel32.lib in the path but it does not help (C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 and x86).

Any thoughts ? Thanks


Hi again,
I finally managed to get this to compile correctly but did the ‘npm install -g spark-cli’ from the ‘MS SDK Windows v7.1’ command prompt (and not the nodejs command prompt).
The ‘MS SDK Windows v7.1’ command prompt comes with MS VC 2010, which is required by node-gyp according to this link

1 Like

I’m not sure if this should go in another thread @kennethlimcp, please feel free to shift it as you see fit.

I have spark CLI installed and I want to upgrade / rebrand / change to particle CLI. What is the best way?

Uninstall everything and start again?

npm uninstall -g spark-cli and npm install -g particle-cli :slight_smile:


@kennethlimcp, Sorted, thank you very much. :smile:

Hi all. Is there a way to run Particle-CLI from behind a corporate proxy? Thanks!

Hmm @UMD it should just work as long as you can connect to the internet.

@kennethlimcp the last time I tried it, it did not. Am not at work today, but will report back with the error messages tomorrow.

Does anyone know what outbound ports Particle-CLI is using? This could be an issue too…

1 Like

It is really just HTTPS api calls.

See this example: