Cannot compile for pilight

Hi all,
I thought that it is a simple task - use Platformio and compile nodemcuv2-pilight.bin with changed GPIO in config_RF.h to have it working with SRX882.
But no way for me so far :frowning:

I use Win 10-64 bit, fresh installation of VSC with Platformio as an extension, antivirus disabled, OMG development 0.95 downloaded today.

This is the Platformio log:

    > Executing task: C:\Users\B\.platformio\penv\Scripts\platformio.exe run <

Processing nodemcuv2-pilight (platform: espressif8266@2.6.3; board: nodemcuv2; framework: arduino)
-------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (2.6.3) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 3.20704.0 (2.7.4)
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.40802.200502 (4.8.2)
Converting main.ino
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:41:0: warning: "struct_size" redefined [enabled by default]
 #    define struct_size 4
 ^
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:38:0: note: this is the location of the previous definition
 #    define struct_size 12
 ^
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/1technophile/Arduino-Log.git#d13cd80
FileNotFoundError: [WinError 2] The system cannot find the file specified: 
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\B\.platformio\platforms\espressif8266\builder\main.py", line 238:
    target_elf = env.BuildProgram()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:   
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:   
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:   
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:
    project.install_dependencies()
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:
    lm.install(spec)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
    pkg = self._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
    return super(LibraryPackageManager, self)._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54: 
    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:    self.configure()
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:    result = proc.exec_command([cls.command, "--exec-path"])
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
    p = subprocess.Popen(*args, **kwargs)
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 947:
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 1416:
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
================================== [FAILED] Took 6.74 seconds ==================================

Environment        Status    Duration
-----------------  --------  ------------
nodemcuv2-pilight  FAILED    00:00:06.736
============================= 1 failed, 0 succeeded in 00:00:06.736 =============================The terminal process "C:\Users\B\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Tried it on 2 Win computers, the same result on both of them.
Any advice would be great.

This is what is wrong.
There are some files that you do not seem to have installed. It’s probably because the variable $BUILD_SCRIPT is not defined for you.

Seems to be the same as

@1technophile It seems to be the same, you are right.

I downloaded the latest development zip 20 mins ago (i.e. with Removed wifi protocol auto change), changed GPIO in config_RF.h, uncomment default_envs = nodemcuv2-pilight in platformio.ini and hit “Build” and the result is the same.

Could you try to replace:
arduinolog = https://github.com/1technophile/Arduino-Log.git#d13cd80

by

arduinolog = https://github.com/1technophile/Arduino-Log.git

To see if the error is due to a change on PIO library installer

replaced … the same result :frowning:

Platformio log:

> Executing task: C:\Users\B\.platformio\penv\Scripts\platformio.exe run <

Processing nodemcuv2-pilight (platform: espressif8266@2.6.3; board: nodemcuv2; framework: arduino)
------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (2.6.3) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 3.20704.0 (2.7.4)
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.40802.200502 (4.8.2)
Converting main.ino
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:41:0: warning: "struct_size" redefined [enabled by default]
 #    define struct_size 4
 ^
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:38:0: note: this is the location of the previous definition
 #    define struct_size 12
 ^
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/1technophile/Arduino-Log.git
FileNotFoundError: [WinError 2] The system cannot find the file specified:
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\B\.platformio\platforms\espressif8266\builder\main.py", line 238:
    target_elf = env.BuildProgram()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 
1062:
    project.install_dependencies()
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 
898:
    lm.install(spec)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
    pkg = self._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
    return super(LibraryPackageManager, self)._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:
    self.configure()
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:
    result = proc.exec_command([cls.command, "--exec-path"])
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
    p = subprocess.Popen(*args, **kwargs)
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 951:
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 1420:
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
================================== [FAILED] Took 9.51 seconds ==================================
Environment        Status    Duration
-----------------  --------  ------------
nodemcuv2-pilight  FAILED    00:00:09.510
============================ 1 failed, 0 succeeded in 00:00:09.510 ============================
The terminal process "C:\Users\B\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Strange is that all files listed in the log as “The system cannot find the file specified” are located where they should be i.e. under C:\Users\B\.platformio\

Several tracks to follow:

  1. Launch the command pio update
  2. Replace

arduinolog = https://github.com/1technophile/Arduino-Log.git#d13cd80

by

arduinolog = thijse/ArduinoLog

Done 1,2 + compilation attempt -:

pio update performed
Log:

PS C:\Users\B\Documents\@Sync\HomeAssistant\NodeMCU RF\OpenMQTTGateway-development> pio update
Updating platformio/contrib-piohome           3.3.4 @ ~3.3.3                     [Up-to-date]
Updating platformio/tool-scons                4.40100.2 @ ~4.40100.2             [Up-to-date]

Platform Manager
================
Platform espressif8266
--------
Updating platformio/espressif8266             2.6.3                              [Up-to-date]
Updating platformio/toolchain-xtensa          2.40802.200502 @ ~2.40802.0        [Up-to-date]
Updating platformio/framework-arduinoespressif8266 3.20704.0 @ ~3.20704.0             [Up-to-date]
Updating platformio/tool-esptool              1.413.0 @ <2                       [Up-to-date]
Updating platformio/tool-esptoolpy            1.30000.201119 @ ~1.30000.0        [Up-to-date]


Library Manager
===============
Library Storage: C:\Users\B\.platformio\lib
PS C:\Users\B\Documents\@Sync\HomeAssistant\NodeMCU RF\OpenMQTTGateway-development> 

arduino log changed:
compilation log:

> Executing task: C:\Users\B\.platformio\penv\Scripts\platformio.exe run <

Processing nodemcuv2-pilight (platform: espressif8266@2.6.3; board: nodemcuv2; framework: arduino)
-------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (2.6.3) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 3.20704.0 (2.7.4)
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.40802.200502 (4.8.2)
Converting main.ino
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:41:0: warning: "struct_size" redefined [enabled by default]
 #    define struct_size 4
 ^
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:38:0: note: this is the location of the previous definition
 #    define struct_size 12
 ^
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing thijse/ArduinoLog
Library Manager: ArduinoLog @ 1.0.3 has been installed!
Library Manager: Installing git+https://github.com/tzapu/WiFiManager.git#c3ff582
FileNotFoundError: [WinError 2] The system cannot find the file specified:
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\B\.platformio\platforms\espressif8266\builder\main.py", line 238:
    target_elf = env.BuildProgram()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:
    project.install_dependencies()
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:
    lm.install(spec)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
    pkg = self._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
    return super(LibraryPackageManager, self)._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:
    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:    self.configure()
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:    result = proc.exec_command([cls.command, "--exec-path"])
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
    p = subprocess.Popen(*args, **kwargs)
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 951:
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 1420:
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
================================== [FAILED] Took 11.14 seconds ==================================
Environment        Status    Duration
-----------------  --------  ------------
nodemcuv2-pilight  FAILED    00:00:11.136
============================= 1 failed, 0 succeeded in 00:00:11.136 =============================The terminal process "C:\Users\B\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

It seems to me that errors start after
Installing git+https://github.com/tzapu/WiFiManager.git#c3ff582

Thanks, so it seems that the issue comes from the platformio library manager. It is not anymore able to install library from a github url + short sha.
Coud you indicate your platformio core version (it is in the pio home page) ?

Platformio: Core 5.1.0 Home 3.3.4

Thanks, same as mine :neutral_face:

Could you try
arduinolog = https://github.com/1technophile/Arduino-Log.git#d13cd80

by

arduinolog = git+https://github.com/1technophile/Arduino-Log.git#d13cd80

For info here are the different supported library definitions:
https://docs.platformio.org/en/latest/core/userguide/lib/cmd_install.html#cmd-lib-install

:frowning: It does not like git+https

> Executing task: C:\Users\B\.platformio\penv\Scripts\platformio.exe run <

Processing nodemcuv2-pilight (platform: espressif8266@2.6.3; board: nodemcuv2; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (2.6.3) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 3.20704.0 (2.7.4)
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.40802.200502 (4.8.2)
Converting main.ino
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:41:0: warning: "struct_size" redefined [enabled by default]
 #    define struct_size 4
 ^
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:38:0: note: this is the location of the previous 
definition
 #    define struct_size 12
 ^
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/1technophile/Arduino-Log.git#d13cd80
FileNotFoundError: [WinError 2] The system cannot find the file specified:
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\B\.platformio\platforms\espressif8266\builder\main.py", line 238:
    target_elf = env.BuildProgram()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:
    project.install_dependencies()
  File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:
    lm.install(spec)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
    pkg = self._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
    return super(LibraryPackageManager, self)._install(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:
    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:
    self.configure()
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:
    result = proc.exec_command([cls.command, "--exec-path"])
  File "c:\users\b\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
    p = subprocess.Popen(*args, **kwargs)
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 951:
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 1420:
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
========================================================= [FAILED] Took 6.94 seconds =========================================================

Environment        Status    Duration
-----------------  --------  ------------
nodemcuv2-pilight  FAILED    00:00:06.944
==================================================== 1 failed, 0 succeeded in 00:00:06.944 ====================================================The terminal process "C:\Users\B\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

I opened a thread into the platformio community

Could you try to install git please ?

Will try and let you know.

Edited:
It is up and running again. You pointed the right direction.
I had somehow corrupted Git installed, so reinstallation did the trick :+1:t2:
Thank you

Platformio forum deals with it even here