First use: "couldn't find package.json" right after installation

I freshly installed the ESPHome addon through the home assistant addon store ui.
Right after the successful installation, I tried to add my D1 Mini through the browser UI. Unfortunately, the initialization of my device failed (while trying to compile the initial setup) with the following error:

MissingPackageManifestError: Could not find one of 'package.json' manifest files in the package

I didn’t touch anything codewise. Therefore, my yaml is still the standard one.
I already tried to re-install the addon.

Any idea how to solve this?

(My Home Assistant Operating System runs on a Raspberry Pi 3+, if that matters)

Hopefully a temporary glitch with platformio. Clean the directory and try again.

1 Like

I’m experiencing the same issue. Fresh install on an ESP32-C3 Super Mini. Arduino is working fine but when I change the framework to esp-idf I get the error.

I tried specifying the previous esp-idf version (5.3.0) instead of the current 5.3.1 and the issue remains.

How would one clean the dircctory? Seems like something that’s done via SSH commands.

Oh, the build files. Ok, I did that and it didn’t help. Thanks for the reply though. I always appreciate learning from your posts.

1 Like