Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit e7b0b3e

Browse files
authored
docs: Add copy-node-modules.sh note to troubleshooting page (#1148)
This introduces a "past problems" section, which we're looking at adding to in the future. That work will include details to help people do the "update and pull" step mentioned here.
1 parent 1e1cb7b commit e7b0b3e

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

docs/troubleshoot_general_tips.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,25 @@ See `the github issue`_ to follow the work being done on the resolution.
244244

245245
.. _the github issue: https://github.com/openedx/devstack/issues/1072
246246

247+
Past problems (fixed)
248+
=====================
249+
250+
If you see any of the following issues, you'll need to update your repos and pull the latest images.
251+
252+
Permission denied for copying studio-frontend JS & CSS during provisioning
253+
--------------------------------------------------------------------------
254+
255+
During ``make dev.provision``, the edx-platform script ``copy-node-modules.sh`` would fail with the following output, or similar::
256+
257+
Copying studio-frontend JS & CSS from node_modules into vendor directories...
258+
+ read -r -d '' src_file
259+
++ find node_modules/@edx/studio-frontend/dist -type f -print0
260+
+ [[ node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css = *.css ]]
261+
+ cp --force node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor
262+
cp: cannot remove 'common/static/common/css/vendor/accessibilityPolicy.min.css': Permission denied
263+
264+
This issue was introduced on edx-platform master in July 2023 and was resolved in August 2023 (without becoming part of a named release). See https://github.com/openedx/devstack/issues/1138 for more details, including a workaround for those unable to upgrade their repos or images for some reason.
265+
247266

248267
Starting From Scratch
249268
=====================

0 commit comments

Comments
 (0)