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()