Skip to content

Commit

Permalink
added unsafe-perm for npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarmot committed Mar 5, 2019
1 parent 7bf32ab commit f1370ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_npm_apps/management/commands/prepnpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit f1370ce

Please sign in to comment.