Error: TypeError: Traceback (most recent call last):
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\platformio\__main__.py", line 103, in main
cli() %23 pylint: disable=no-value-for-parameter
~~~^^
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\click\core.py", line 1161, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\click\core.py", line 1082, in main
rv = self.invoke(ctx)
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\platformio\cli.py", line 85, in invoke
return super().invoke(ctx)
~~~~~~~~~~~~~~^^^^^
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\click\core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\click\core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\click\core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\platformio\home\cli.py", line 92, in cli
run_server(
~~~~~~~~~~^
host=host,
^^^^^^^^^^
...<3 lines>...
home_url=home_url,
^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\enerj\.platformio\penv\Lib\site-packages\platformio\home\run.py", line 66, in run_server
if not os.path.isdir(contrib_dir):
~~~~~~~~~~~~~^^^^^^^^^^^^^
TypeError: _path_isdir: path should be string, bytes, os.PathLike or integer, not NoneType
============================================================
An unexpected error occurred. Further steps:
* Verify that you have the latest version of PlatformIO using
`python -m pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
* Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================
at c:\Users\enerj\.vscode\extensions\pioarduino.pioarduino-ide-1.0.5\node_modules\pioarduino-node-helpers\dist\index.js:1:10938
at ChildProcess.d (c:\Users\enerj\.vscode\extensions\pioarduino.pioarduino-ide-1.0.5\node_modules\pioarduino-node-helpers\dist\index.js:1:4560)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
%23 Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
%23 Configuration
VSCode: 1.96.2
PIO IDE: v1.0.5
System: Windows_NT, 10.0.26100, x64
%23 Exception