Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI not loading the script #1151

Closed
relu91 opened this issue Nov 3, 2023 · 1 comment · Fixed by #1152
Closed

CLI not loading the script #1151

relu91 opened this issue Nov 3, 2023 · 1 comment · Fixed by #1152
Labels
bug Something isn't working cli Issues with the command line interface

Comments

@relu91
Copy link
Member

relu91 commented Nov 3, 2023

As demonstrated by the latest live coding, when you call wot-servient script.js nothing happens and the script is not run.

@relu91 relu91 added bug Something isn't working cli Issues with the command line interface labels Nov 3, 2023
@danielpeintner
Copy link
Member

I never run the CLI with wot-servient. Anyhow, running a sample like this

node packages\cli\dist\cli.js examples\scripts\counter.js

throws the following error.

Error: Cannot produce ExposedThing because " + #<Object> could not be cloned.
    at ...\packages\core\dist\wot-impl.js:111:24
    at new Promise (<anonymous>)

and my guess is that it has to do with #1105.

I will try to take a look unless @JKRhb will look into... please let me know...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Issues with the command line interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants