endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
804 stars 71 forks source link

`endo mkhost` fails to properly create an `EndoHost` object. #1901

Closed tgrecojs closed 8 months ago

tgrecojs commented 9 months ago

Describe the bug

any attempt to create a host object via endo mkhost <host-name> fails to properly create an EndoHost object and instead, the command returns an error which is stored inside the pet store under the host name used when attempting to make the host.

The entire sequence can be seen in the screenshot at the bottom of this issue.

Steps to reproduce

  1. make sure endo command is accessible
  2. execute endo mkhost thomas

Expected behavior

A new EndoHost object should be created an added to my pet store so that when I execute endo show thomas I will see Object [Alleged: EndoHost] {}.

Screenshots

endo mkhost behavior

kriskowal commented 8 months ago

Fixed. Thank you for reporting!