I put my example adapter in a folder in the ‘build/addons’ folder. I generated my checksum file and now I am trying to start the server running ‘npm start’.
The output I get while starting the server is:
Package not enabled: open-hardware-monitor-adapter
Failed to load add-on: open-hardware-monitor
Package not enabled: open-hardware-monitor-adapter
How can I enable my package? It’s not visible in the “Settings” > “Addons” screen.
Well, the checksums are correct. I double checked them and there are no checksum errors on startup (the first time I forgot to update the checksums and it didn’t start).
I ran into something like this before. Make sure that the name in your adapter’s package.json file matches the name in the addons/list.json file.
I see open-hardware-monitor-adapter and open-hardware-monitor (i.e. missing the -adapter on the end) in your error messages.
There is a check-list.py script in the addon-list repository which will do a bunch of checking to make sure that things between list.json and the various package.json files are in sync.