Skip to content

Commit

Permalink
Fixing permission denied issue with NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Szoltysek committed Apr 6, 2017
1 parent 7d7b209 commit 64c7d78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .elasticbeanstalk/00_change_npm_permissions.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/00_set_tmp_permissions.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
chown -R nodejs:nodejs /tmp/.npm
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ packages/demo/node_modules/*
assets/compiled/*
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.config
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

0 comments on commit 64c7d78

Please sign in to comment.