Photon not connecting to wifi network [SOLVED]

Hey all,

Having difficulty connecting to a wifi network, tried reinstalling particle-cli and now am getting errors when I try using commands, for instance when running:

particle list

I get:

Error loading command /usr/local/lib/node_modules/particle-cli/commands/SerialCommand.js Error: Module version mismatch. Expected 48, got 14.

And it prevents me from running particle setup wifi, so I can't connect it...

Any thoughts or suggestions would be appreciated.

What version of Node do you have installed?
Check with:

node -v

particle-cli doent work with the latest version of node, so try using 5.8.0.

curl -fsSLO https://nodejs.org/dist/v5.8.0/node-v5.8.0.pkg
sudo installer -pkg node-*.pkg -target /
2 Likes

Thank you @nrobinson2000 – fixed it by installing node version 4.4.5

2 Likes

Great!