Open timvol opened 2 years ago
Ok, it seems that I'm missing the build-command. But I wonder if there's a "mass"-build command because I don't want to build all libraries by going into the directory, call npm install
and npm run build
...
But even after building everything manually, it seems that h5p get
is missing some libraries. I tested my h5p file for debug purposes in Drupal and it gives me the following error:
@timvol I assume repositories that are missing are not listed where they should be listed, but you can clone them from git of course - even though that's manual labor.
I don't think the H5P CLI tool doesn't have an inbuilt build
command yet, but a simple bash script should be able to do the job.
h5p-cli core functionality has been rewritten. Try using new setup flow.
I want "rebuild" the course-presentation using the h5p-cli, but it seems that there're some libraries missing. To rebuild the package, I run the following commands:
This gives me a "libraries.h5p" which includes 57 directories and 1 file. When I try to install the package (in my case in Moodle), it tells me that the package is invalid. Now, I compared the "original" H5P course presentation from
https://api.h5p.org/v1/content-types/H5P.CoursePresentation
which contains 70 directories and when I try to install it, everything is fine.I compared both h5p files and the following folders/files are missing:
Any idea why these files/folder are missing and also not fetched by
h5p get
command?