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:
parent
50f24a9ad6
commit
fa65f215a4
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue