Issue with paver update_assets

When i try to run update_assets --settings=tutor.development, i get the following error. I reseted my ubuntu 3 days ago and this problem come to me. I try everything but can’t fix it . Can anyone help me? :frowning:

openedx@ce1e976b0c97:~/edx-platform$ paver update_assets --settings=tutor.development
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.assets.process_xmodule_assets
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
NO_PYTHON_UNINSTALL is set. No attempts will be made to uninstall old Python libs.
Python prereqs unchanged, skipping...
xmodule_assets common/static/xmodule
		Finished processing xmodule assets.
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


Captured Task Output:

---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
---> pavelib.assets.process_xmodule_assets
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
xmodule_assets common/static/xmodule
mkdir_p path('common/static/common/js/vendor')
mkdir_p path('common/static/common/css')
mkdir_p path('common/static/common/css/vendor')
Traceback (most recent call last):
  File "/openedx/venv/local/lib/python2.7/site-packages/paver/tasks.py", line 201, in _run_task
    return do_task()
  File "/openedx/venv/local/lib/python2.7/site-packages/paver/tasks.py", line 198, in do_task
    return func(**kw)
  File "pavelib/utils/timer.py", line 39, in timed
    return wrapped(*args, **kwargs)
  File "pavelib/assets.py", line 939, in update_assets
    process_npm_assets()
  File "pavelib/assets.py", line 641, in process_npm_assets
    copy_vendor_library(library)
  File "pavelib/assets.py", line 612, in copy_vendor_library
    raise Exception('Missing vendor file {library_path}'.format(library_path=library_path))
Exception: Missing vendor file node_modules/backbone.paginator/lib/backbone.paginator.js

Did you attempt to install npm dependencies, as suggested in the answer to the issue you created here? https://github.com/overhangio/tutor/issues/337#issuecomment-638007062

To do so you should run: tutor local run lms npm install (or tutor dev run lms npm install if you are running into this in development)

Thanks for your answer, I’ve found the way to fix it. It’s my folder permisson problem lol :))

I ran into a similar problem and this solution worked for me. I made this PR because I think this step should be documented.