Skip to content

Generated incorrect webpack-stats.json path

Description While executing make run-django-webpack-devserver command to run Software Heritage, a server error appears at http://127.0.0.1:5004/ due to the incorrect generated path of webpack-stats.json.

Expected Behaviour The correct path should locate the file at /home/priya/swh/swh-environment/swh-web/static/webpack-stats.json but the generated file is found at /home/priya/swh/static/webpack-stats.json. However, when the file is manually copied and pasted to the right location, it works fine.

Environment Ubuntu 20.04 LTS


Migrated from T4190 (view on Phabricator)

Edited by Phabricator Migration user
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information