1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-07-14 14:16:44 -04:00 committed by GitHub
parent 41b8cb3b61
commit e352cd54f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,22 +67,22 @@
# state: present
when: internet_available and is_debuntu and not is_ubuntu_18
# 2018-07-14: Raspbian (apt offers npm 1.4.21) & Debian 9 (apt offers no npm!)
# STILL NEED the above nodesource.com approach to get a version of npm that
# works with Sugarizer, as documented at:
# 2018-07-14: BOTH STEPS ABOVE TAKE TIME, but Raspbian (apt offers npm
# 1.4.21) & Debian 9 (apt offers no npm!) STILL NEED the above
# nodesource.com approach to get a version of npm that works with Sugarizer:
# https://github.com/iiab/iiab/issues/798#issuecomment-404324530
# FYI this nodesource.com approach (brings in npm 5.6.0 with nodejs 8.11.3
# for now) would also work on Ubuntu 18.04, and might even bring about a
# more sane consistency between mainline OS's?
#
# But For Now: Ubuntu 18.04's apt (approach below) brings in npm 3.5.2,
#
# MORE POSITIVELY: this nodesource.com approach (brings in npm 5.6.0 with
# nodejs 8.11.3 for now, to any OS) would also work on Ubuntu 18.04, and
# might even bring about a sane consistency across mainline OS's?
#
# BUT FOR NOW: Ubuntu 18.04's apt (approach below) brings in npm 3.5.2,
# which appears suffic "SO FAR"? 18.04's nodejs 8.10.0 is more reassuring!
# CRAZY IDEA: some versions of npm can upgrade themselves to the latest
# (6.1.0 for now) with command "npm install -g npm" if that helps us in
# future, if that helps TK's memory issue etc? If so, be CAREFUL this
# may put npm in /usr/local/bin causing future/pkg management issues:
# (6.1.0 for now) using command "npm install -g npm", if that helps us in
# future, e.g. TK's memory issue etc? If so, be CAREFUL this might put
# npm in /usr/local/bin causing future/pkg management issues:
# https://askubuntu.com/questions/1036278/npm-is-incorrect-version-on-latest-ubuntu-18-04-installation
- name: Install Node.js and npm (ubuntu-18 or not debuntu)