6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 20:29:02 +00:00
tutor/docs
Maarten 2b8ac7102e Advice people to run npm install before running openedx-assets build
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.
2020-12-08 12:26:44 +01:00
..
img Add favicon to docs 2019-10-25 10:53:59 +02:00
plugins Fix SAML plugin example in docs 2020-10-06 09:56:51 +02:00
_release_description.md Clarify the RAM requirements, especially for Mac OS. 2020-03-16 18:12:57 +01:00
.gitignore Migrate openedx-docker project to Tutor 👩‍🏫 2018-12-26 19:27:08 +01:00
cli_download.rst Fix tutor binary permission error on MacOSX 2019-07-24 12:53:15 +02:00
conf.py Remove useless docs configuration 2020-02-25 17:03:11 +01:00
configuration.rst Remove dev/local pullimages command 2020-11-16 12:50:01 +01:00
dev.rst Advice people to run npm install before running openedx-assets build 2020-12-08 12:26:44 +01:00
extra.rst Fix android app custom build instructions 2020-05-18 20:30:36 +02:00
faq.rst Various docs improvements 2020-03-16 22:27:04 +01:00
gettingstarted.rst Better docs organization 2020-03-16 12:07:58 +01:00
index.rst Better docs organization 2020-03-16 12:07:58 +01:00
install.rst Fix pip install instructions 2020-07-16 09:21:10 +02:00
intro.rst Add link to mobile android app in docs 2020-05-11 15:42:54 +02:00
k8s.rst Clarify image downloading in k8s docs 2020-08-16 16:05:06 +02:00
local.rst Remove dev/local pullimages command 2020-11-16 12:50:01 +01:00
Makefile Better installation docs 2020-03-16 22:14:36 +01:00
plugins.rst Better documentation of simple yaml plugins 2020-05-18 11:31:29 +02:00
podman.rst Add big fat warning about podman-compose 2020-09-21 10:35:36 +02:00
quickstart.rst v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00
run.rst Better docs organization 2020-03-16 12:07:58 +01:00
testimonials.rst v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00
troubleshooting.rst Clarify contributing/troubleshooting instructions 2020-11-30 15:32:43 +01:00
tutor.rst Clarify contributing/troubleshooting instructions 2020-11-30 15:32:43 +01:00
whatnext.rst Improve "what's next instructions" 2020-04-06 09:56:04 +02:00