mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-09-28 20:29:02 +00:00
2b8ac7102e
When I tried running `openedx-assets build` on my `tutor dev lms` machine, I got an error: ``` openedx@1dfe0ece7805:~/edx-platform$ openedx-assets build --env=dev mkdir_p path('common/static/common/js/vendor') mkdir_p path('common/static/common/css') mkdir_p path('common/static/common/css/vendor') Copying vendor files into static directory Traceback (most recent call last): File "/openedx/bin/openedx-assets", line 218, in <module> main() File "/openedx/bin/openedx-assets", line 89, in main args.func(args) File "/openedx/bin/openedx-assets", line 94, in run_build run_npm(args) File "/openedx/bin/openedx-assets", line 117, in run_npm assets.process_npm_assets() File "/openedx/edx-platform/pavelib/assets.py", line 643, in process_npm_assets copy_vendor_library(library) File "/openedx/edx-platform/pavelib/assets.py", line 614, in copy_vendor_library raise Exception(u'Missing vendor file {library_path}'.format(library_path=library_path)) Exception: Missing vendor file node_modules/backbone.paginator/lib/backbone.paginator.js ``` As suggested in [this topic](https://discuss.overhang.io/t/issue-with-paver-update-assets/641) I had to run `npm install` to get the packages it tries to copy from. That makes sense, so I think it should be part of the instructions here. |
||
---|---|---|
.. | ||
img | ||
plugins | ||
_release_description.md | ||
.gitignore | ||
cli_download.rst | ||
conf.py | ||
configuration.rst | ||
dev.rst | ||
extra.rst | ||
faq.rst | ||
gettingstarted.rst | ||
index.rst | ||
install.rst | ||
intro.rst | ||
k8s.rst | ||
local.rst | ||
Makefile | ||
plugins.rst | ||
podman.rst | ||
quickstart.rst | ||
run.rst | ||
testimonials.rst | ||
troubleshooting.rst | ||
tutor.rst | ||
whatnext.rst |