1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-07-15 01:18:42 -04:00 committed by GitHub
parent 50f24a9ad6
commit fa65f215a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,6 +95,14 @@
- npm
when: internet_available and (is_ubuntu_18 or not is_debuntu)
# 2018-07-15: TK Kang showed that "npm install" fails if run through sudo, with code EACCES, errno -13 (permission denied), "missing write access to /opt/iiab/sugarizer-server-1.0/node_modules"
- name: Change ownership of /root/.npm from iiab-admin to root
file:
path: /root/.npm
owner: root
group: root
recurse: yes
# 4. RUN "npm install" TO POPULATE ~35MB /opt/iiab/sugarizer-server/node_modules
# Re-running "npm install" USED TO fail on Raspbian 9 if not other OS's.