-
Notifications
You must be signed in to change notification settings - Fork 423
Missing vendor file node_modules/backbone.paginator/lib/backbone.paginator.js #1072
Comments
I think @rijuma saw this several times provisioning mid week but it eventually worked after nuking volumes and running again so it may not be an always error 😱 |
This has definitely surfaced in the past, but usually with an unsatisfying resolution: |
I can't say if this was exactly the same case as mine mentioned by @ashultz0. On my case In order to fix my issue, I had to add # ~/.bashrc
eval "$(pyenv init -)"
source /usr/local/bin/virtualenvwrapper.sh After that, I double checked that the proper python version was the default on ➜ ~ python -V
Python 3.8.16 Then removed all related containers and volumes from docker so the provisioning would start from scratch. |
Seems like this is possibly also a manifestation of M1/Silicon issues. Edit: we have also received word that this is happening on hosted devstack as well. |
On hosted devstack, we managed to fix this issue with an This might be something that we want/could be run when folks run into this. Maybe provisioning fails? https://github.com/openedx/devstack/blob/master/provision-lms.sh#L80-L81 |
Some suggestions for diagnosing:
|
Not sure if this is a separate issue, but it may be that that the hash caching that we use to avoid doing npm related install can get into a bad state? Provisioning seems to clear it: https://github.com/openedx/devstack/blob/master/provision-lms.sh#L80-L81, but |
I have been able to work around this in the past by manually installing Am on an M1 Mac running Devstack. |
[inform] @justinhynes reported having this issue "not running local" (remote desktop?) and successfully used the following workaround:
Maybe we just need a quick win (for now) of adding this to the troubleshooting guide? |
The following workaround worked for at least 2 developers:
It has been noted that
That said, it may be that UPDATE: It probably isn't worth trying this alternate workaround, and we should just update the troubleshooting doc. We could however separately try to get to the bottom of how this happens, or how we could detect and auto-fix, or detect and auto suggest the fix. |
Follow-up checklist (for Arch-BOM usage)
|
FED-BOM is able to reproduce this issue and trying to debug it. We think it might fix with frontend package upgrades of edx-platform. We have a separate ticket for platform npm package upgrades and one of its PR will be up soon |
NOTE: The documentation of the workaround has been moved to #1088. This ticket is now just for the technical resolution of the issue.
make dev.provision results in "Missing vendor file node_modules/backbone.paginator/lib/backbone.paginator.js"
The text was updated successfully, but these errors were encountered: