Particle Workbench Local Flash error

Just came to do a Local Flash from the Particle Workbench and this

Device in DFU mode (flashing yellow) and connected to USB - start local flash and it fails thus:

particle: Installing plugins... done
ERROR: runtime error: invalid memory address or nil pointer dereference
particle: Installing plugins... done
ERROR: runtime error: invalid memory address or nil pointer dereference
make: *** [/Users/wxy/Documents/Intelligent_Furniture_Project/VSC_Projects/xxx-xxx-base/src/xxx-xxx-base.cpp] Error 1

 *  The terminal process "/bin/bash '-c', 'make -f '/Users/wxy/.particle/toolchains/buildscripts/1.10.0/Makefile' flash-all -s'" terminated with exit code: 2. 
 *  Press any key to close the terminal.

V1.16.1/restarted VSC. Any ideas?

[Update] The solution is here: CLI updated to Node 16

Thanks to Juffin

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.