From f1370ceada966ad7c1a3a8137cc0e0f82feb1d69 Mon Sep 17 00:00:00 2001 From: Tamar Cohen Date: Mon, 4 Mar 2019 17:48:38 -0800 Subject: [PATCH] added unsafe-perm for npm install --- django_npm_apps/management/commands/prepnpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_npm_apps/management/commands/prepnpm.py b/django_npm_apps/management/commands/prepnpm.py index fc5ef6b..edc4bb6 100644 --- a/django_npm_apps/management/commands/prepnpm.py +++ b/django_npm_apps/management/commands/prepnpm.py @@ -27,4 +27,4 @@ def handle(self, *args, **options): for path in app_paths: print path - subprocess.Popen(['/usr/bin/npm', 'install'], cwd=path).wait() + subprocess.Popen(['/usr/bin/npm', 'install', '--unsafe-perm'], cwd=path).wait()