I am trying to install sockpuppet with docker-compose python:3.7 container and the initial_sockpuppet command fails because it doesn't have access to the global npm install location.
When I run the command python manage.py initial_sockpuppet I get the following error:
Command 'npm install -g --force add-project-script' returned non-zero exit status 243.
From reading other issues it sounds like this package is only temporarily installed then removed. Is it possible to have this command be run non-globally in order to accommodate more installation situations?
Bug Report
Describe the bug
I am unable to complete the install instructions from https://sockpuppet.argpar.se/setup-django.
I am trying to install sockpuppet with docker-compose python:3.7 container and the initial_sockpuppet command fails because it doesn't have access to the global npm install location.
When I run the command
python manage.py initial_sockpuppet
I get the following error:Command 'npm install -g --force add-project-script' returned non-zero exit status 243.
From reading other issues it sounds like this package is only temporarily installed then removed. Is it possible to have this command be run non-globally in order to accommodate more installation situations?
I ended up working around the issue by following the steps here: https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally to set the npm global module location inside my user directory.
Expected behavior
Sockpuppet should install even when the user does not have access to the global npm directory.
Versions
Django-sockpuppet
External tools