You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the ROOT_DIR is within a path that contains a symlink directory, resource resolve fails as the absolute (real) path is different than the symlink path.
For example, in our system, the venv directory is /fs/u02/apps_ux/apps_dlvr/venv. However there is an /apps_ux/ -> /fs/u02/apps_ux/ symlink in the root that causes line 366 in webpack/webpack.common.js to not match: templatePath = resourcePath.split(APP_ROOT)[1];
An example of this mismatch in our case is as follows:
If the
ROOT_DIR
is within a path that contains a symlink directory, resource resolve fails as the absolute (real) path is different than the symlink path.For example, in our system, the venv directory is
/fs/u02/apps_ux/apps_dlvr/venv
. However there is an/apps_ux/
->/fs/u02/apps_ux/
symlink in the root that causes line 366 inwebpack/webpack.common.js
to not match:templatePath = resourcePath.split(APP_ROOT)[1];
An example of this mismatch in our case is as follows:
Resolving all paths to the real (full path) should fix this issue (eg
os.path.realpath(ROOT_DIR)
).The text was updated successfully, but these errors were encountered: