[Deployment] /usr/local/app/node_modules/.bin/node-sass: not found
#1156
Labels
triage needed
The bug report may be just filed. Please triage it.
/usr/local/app/node_modules/.bin/node-sass: not found
#1156
Description
After deploying the 2024 backend on staging environment,
<host>/admin/
): works fine<host>/
): see the error message/usr/local/app/node_modules/.bin/node-sass: not found
Steps to Reproduce
Expected Behavior
It should display the page (but it does not).
Actual Behavior
500 response.
After turning on the debug mode, it shows
/usr/local/app/node_modules/.bin/node-sass: not found
.Additional context
It should be the side effect of #1151.
Inside the
src/pycontw2016/settings/base.py
, the lineexpected
node-sass
executable at the patch/usr/local/app/node_modules/.bin
. However, after #1151, the path to the node_modules was moved to/usr/local/lib/node_modules/
, which causes the exception. But not sure why we did not encounter this after #1511 (maybe we haven't rebuilt for too long?)For the current staging environment, I fixed it up with a workaround (but it'll still break after rebuild):
The text was updated successfully, but these errors were encountered: