How to use H5p CLI Server command
Submitted by Olivander12 on Fri, 11/17/2023 - 14:34
Forums:
Hello everybody,
I am a bit frustrated, since I wanted to edit some existing h5p libraries but for me (I have some programming experience), setting up a working envirionment is not well documented. I wanted to use the h5p cli tool. I installed node.js v17
otacke
Fri, 11/17/2023 - 19:16
Permalink
Have you checked the readme
Have you checked the readme at https://github.com/h5p/h5p-cli/blob/master/readme.md?
Olivander12
Sun, 12/03/2023 - 13:49
Permalink
Sorry
I am sorry, I wanted to save my post, but accidentally published it.
I followed the readme, but unfortunately the setup command does not work for me. I get an "unknown command" error.
I am using a fresh ubuntu vm, I additionally installed git, npm, novm and node.js.
otacke
Mon, 12/04/2023 - 11:46
Permalink
I see!Seems that H5P Group is
I see!
Seems that H5P Group is still serving the previous version of the H5P CLI tool via npm. You'd need to install its npm package from github then.
@BV: Pål or Andrei may want to update the release package on npm.
Best,
Oliver
Olivander12
Sun, 12/03/2023 - 13:50
Permalink
Sorry
I am sorry, I wanted to save my post, but accidentally published it.
I followed the readme, but unfortunately the setup command does not work for me. I get an "unknown command" error.
h5p setup https://github.com/h5p/h5p-multi-choice Unknown command.I am using a fresh ubuntu vm, I additionally installed git, npm, novm and node.js.