PIO IDE: v2.2.1
System: Windows_NT, 10.0.18363, x64
Error: Error: You are not connected to the Internet.
PlatformIO needs the Internet connection to download dependent packages or to work with PlatformIO Account.
at ChildProcess.c (c:\Users\vtrom\.vscode\extensions\platformio.platformio-ide-2.2.1\node_modules\platformio-node-helpers\dist\index.js:1:879169)
at ChildProcess.emit (events.js:223:5)
at ChildProcess.cp.emit (c:\Users\vtrom\.vscode\extensions\platformio.platformio-ide-2.2.1\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
I have used the pio upgrade --dev command to upgrade the PlatformIO but it is still not working when there is no internet
Well, is any of the two true? When does this appear? When you build a project and you don’t already have the local toolchains and other packages for it that are required? Or have you logged into your into your PIO account in the GUI?