In trying to follow the instructions here: https://github.com/atomvm/atomvm_lib/blob/master/markdown/httpd.md#the-http-file-handler
i am unable to run packbeam list priv.avm on the generated priv.avm file, it results in an error like this:
packbeam: caught exception: {badmatch,
{error,beam_lib,
{not_a_beam_file, << binarydata... >>}}
The contents of the priv directory is an index.html file that i intend to serve up with the httpd file handler - which is also not really working, unsure if they are related issue.
When inspecting the contents of the priv.avm file with hexdump, it does look to contain the expected content - but maybe not in the right format? could be an issue with packbeam, but these are not packed beam files - as it correctly identified...
Thanks for any help!
In trying to follow the instructions here: https://github.com/atomvm/atomvm_lib/blob/master/markdown/httpd.md#the-http-file-handler
i am unable to run
packbeam list priv.avmon the generatedpriv.avmfile, it results in an error like this:The contents of the priv directory is an
index.htmlfile that i intend to serve up with the httpd file handler - which is also not really working, unsure if they are related issue.When inspecting the contents of the
priv.avmfile with hexdump, it does look to contain the expected content - but maybe not in the right format? could be an issue with packbeam, but these are not packed beam files - as it correctly identified...Thanks for any help!